lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 19 Jan 2022 00:59:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Janne Grunau <j@...nau.net>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Hector Martin <marcan@...can.st>
Subject: [asahilinux:bits/090-spi-hid 12/12]
 drivers/hid/spi-hid/spi-hid-apple-of.c:114:25: error:
 'spi_hid_apple_of_match' undeclared here (not in a function); did you mean
 'spihid_apple_of_match'?

tree:   https://github.com/AsahiLinux/linux bits/090-spi-hid
head:   25070af6e6d0c750f307b019df19cc93a54b664c
commit: 25070af6e6d0c750f307b019df19cc93a54b664c [12/12] WIP: HID: transport: spi: add Apple SPI transport
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20220119/202201190058.vURTyce7-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/AsahiLinux/linux/commit/25070af6e6d0c750f307b019df19cc93a54b664c
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux bits/090-spi-hid
        git checkout 25070af6e6d0c750f307b019df19cc93a54b664c
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/hid/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   drivers/hid/spi-hid/spi-hid-apple-of.c:24:5: warning: no previous prototype for 'spihid_apple_of_power_on' [-Wmissing-prototypes]
      24 | int spihid_apple_of_power_on(struct spihid_apple_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/spi-hid/spi-hid-apple-of.c:40:5: warning: no previous prototype for 'spihid_apple_of_power_off' [-Wmissing-prototypes]
      40 | int spihid_apple_of_power_off(struct spihid_apple_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/spi-hid/spi-hid-apple-of.c:50:5: warning: no previous prototype for 'spihid_apple_of_enable_irq' [-Wmissing-prototypes]
      50 | int spihid_apple_of_enable_irq(struct spihid_apple_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/spi-hid/spi-hid-apple-of.c:59:5: warning: no previous prototype for 'spihid_apple_of_disable_irq' [-Wmissing-prototypes]
      59 | int spihid_apple_of_disable_irq(struct spihid_apple_ops *ops)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/device/driver.h:21,
                    from include/linux/device.h:32,
                    from include/linux/spi/spi.h:10,
                    from drivers/hid/spi-hid/spi-hid-apple.h:7,
                    from drivers/hid/spi-hid/spi-hid-apple-of.c:14:
>> drivers/hid/spi-hid/spi-hid-apple-of.c:114:25: error: 'spi_hid_apple_of_match' undeclared here (not in a function); did you mean 'spihid_apple_of_match'?
     114 | MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
         |                         ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     244 | extern typeof(name) __mod_##type##__##name##_device_table  \
         |               ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__spi_hid_apple_of_match_device_table' aliased to undefined symbol 'spi_hid_apple_of_match'
     244 | extern typeof(name) __mod_##type##__##name##_device_table  \
         |                     ^~~~~~
   drivers/hid/spi-hid/spi-hid-apple-of.c:114:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     114 | MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
         | ^~~~~~~~~~~~~~~~~~~


vim +114 drivers/hid/spi-hid/spi-hid-apple-of.c

   109	
   110	static const struct of_device_id spihid_apple_of_match[] = {
   111		{ .compatible = "apple,spi-hid-transport" },
   112		{},
   113	};
 > 114	MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
   115	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ