All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
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'?
Date: Wed, 19 Jan 2022 00:59:00 +0800	[thread overview]
Message-ID: <202201190058.vURTyce7-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3624 bytes --]

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(a)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@intel.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(a)lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Janne Grunau <j@jannau.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Hector Martin <marcan@marcan.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'?
Date: Wed, 19 Jan 2022 00:59:00 +0800	[thread overview]
Message-ID: <202201190058.vURTyce7-lkp@intel.com> (raw)

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@intel.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

             reply	other threads:[~2022-01-18 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 16:59 kernel test robot [this message]
2022-01-18 16:59 ` [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'? kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201190058.vURTyce7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.