Checking GKI KMI compatibility for GKI modules

Not all exported symbols from GKI modules are part of KMI. Only those
found in the symbol list (abi_symbollist.report) are. So Module.symvers
alone is not enough to check GKI KMI compatibility.

This change references abi_symbollist.report (from the old GKI) to
decide what symbols really need to be checked.

Released Android 14 GKI 6.1
- 2023-07: 10521792
- 2023-08: 10672300
- 2023-09: 10816536

Bug: 300218636
Test: $ cd development/gki/kmi_abi_chk
      $ ./kmi_compatibility_test.sh sym-6.1/Module.symvers-10672300 sym-6.1/Module.symvers-10521792
Current kernel symbol file, sym-6.1/Module.symvers-10672300, is checking against:
	sym-6.1/Module.symvers-10521792
0x39780159	wwan_create_port	drivers/net/wwan/wwan	EXPORT_SYMBOL_GPL
0x35acf01e	wwan_register_ops	drivers/net/wwan/wwan	EXPORT_SYMBOL_GPL
sym-6.1/Module.symvers-10521792 contains symbol(s) not found in, or incompatible with, sym-6.1/Module.symvers-10672300.
      $ ./kmi_compatibility_test.sh sym-6.1/Module.symvers-10672300 sym-6.1/Module.symvers-10521792 abi_symbollist.report
ABI list: abi_symbollist.report
Current kernel symbol file, sym-6.1/Module.symvers-10672300, is checking against:
	sym-6.1/Module.symvers-10521792

Change-Id: Icb2e7949a6e576eded0c88311abca2e835826039
5 files changed