tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: dda59452adcd5503512e4d25631db28a50f38fd0 commit: 5ebbfc8c29eb5eb6dfdab853bdb2a622e0533d7e [1336/1336] staging: TCM: add GMJS(Nationz Tech) TCM driver. config: arm64-randconfig-003-20241219 (https://download.01.org/0day-ci/archive/20241219/202412192143.ddGXn3L0-lkp@i...) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241219/202412192143.ddGXn3L0-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202412192143.ddGXn3L0-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/staging/gmjstcm/tcm_tis_spi.c:109:5: warning: no previous prototype for 'tcm_tis_spi_transfer' [-Wmissing-prototypes] 109 | int tcm_tis_spi_transfer(struct device *dev, u32 addr, u16 len, | ^~~~~~~~~~~~~~~~~~~~ drivers/staging/gmjstcm/tcm_tis_spi.c: In function 'recv_data': drivers/staging/gmjstcm/tcm_tis_spi.c:423:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 423 | int ret; | ^~~ drivers/staging/gmjstcm/tcm_tis_spi.c: At top level:
drivers/staging/gmjstcm/tcm_tis_spi.c:817:36: warning: 'tcm_tis_spi_acpi_match' defined but not used [-Wunused-const-variable=]
817 | static const struct acpi_device_id tcm_tis_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~ drivers/staging/gmjstcm/tcm_tis_spi.c: In function 'cleanup_tis': drivers/staging/gmjstcm/tcm_tis_spi.c:249:17: warning: 'inten' may be used uninitialized [-Wmaybe-uninitialized] 249 | tcm_tis_writel(chip->dev, TCM_INT_ENABLE(chip->vendor.locality), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | ~TCM_GLOBAL_INT_ENABLE & inten); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/gmjstcm/tcm_tis_spi.c:237:13: note: 'inten' was declared here 237 | u32 inten; | ^~~~~ drivers/staging/gmjstcm/tcm_tis_spi.c: In function 'tcm_tis_init': drivers/staging/gmjstcm/tcm_tis_spi.c:264:21: warning: 'vendor' may be used uninitialized [-Wmaybe-uninitialized] 264 | if ((vendor & 0xffff) != 0x19f5 && (vendor & 0xffff) != 0x1B4E) | ~~~~~~~~^~~~~~~~~ drivers/staging/gmjstcm/tcm_tis_spi.c:260:13: note: 'vendor' was declared here 260 | u32 vendor, intfcaps; | ^~~~~~ -- aarch64-linux-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions aarch64-linux-ld: fs/ext4/super.o: in function `ext4_handle_error': super.c:(.text+0x1472c): undefined reference to `__alloc_skb'
super.c:(.text+0x1472c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__alloc_skb' aarch64-linux-ld: super.c:(.text+0x14794): undefined reference to `__nlmsg_put' super.c:(.text+0x14794): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__nlmsg_put' aarch64-linux-ld: super.c:(.text+0x14878): undefined reference to `netlink_broadcast' super.c:(.text+0x14878): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `netlink_broadcast' aarch64-linux-ld: super.c:(.text+0x149cc): undefined reference to `kfree_skb' super.c:(.text+0x149cc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `kfree_skb'
aarch64-linux-ld: fs/ext4/super.o: in function `ext4_init_fs': super.c:(.init.text+0x52e4): undefined reference to `init_net'
super.c:(.init.text+0x52e4): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `init_net' aarch64-linux-ld: super.c:(.init.text+0x52ec): undefined reference to `init_net' aarch64-linux-ld: super.c:(.init.text+0x52f4): undefined reference to `__netlink_kernel_create' super.c:(.init.text+0x52f4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__netlink_kernel_create'
aarch64-linux-ld: fs/ext4/super.o: in function `ext4_exit_fs': super.c:(.exit.text+0x7c): undefined reference to `netlink_kernel_release'
super.c:(.exit.text+0x7c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `netlink_kernel_release'
vim +/tcm_tis_spi_acpi_match +817 drivers/staging/gmjstcm/tcm_tis_spi.c
816
817 static const struct acpi_device_id tcm_tis_spi_acpi_match[] = {
818 {"TCMS0001", 0}, 819 {"SMO0768", 0}, 820 {"ZIC0601", 0}, 821 {} 822 }; 823 MODULE_DEVICE_TABLE(acpi, tcm_tis_spi_acpi_match); 824