linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [char-misc:char-misc-next 21/24] ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!
@ 2022-09-05 10:26 kernel test robot
  2022-09-05 12:17 ` Kumaravel.Thiagarajan
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-09-05 10:26 UTC (permalink / raw)
  To: Kumaravel Thiagarajan; +Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-next
head:   50e177c5bfd9abc3828cb57e14e6169170f6764a
commit: 7d3e4d807df2a216b9aa2944372f2b3f6ef3f205 [21/24] misc: microchip: pci1xxxx: load gpio driver for the gpio controller auxiliary device enumerated by the auxiliary bus driver.
config: x86_64-randconfig-c042-20220905 (https://download.01.org/0day-ci/archive/20220905/202209051843.L37B3c76-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?id=7d3e4d807df2a216b9aa2944372f2b3f6ef3f205
        git remote add char-misc https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
        git fetch --no-tags char-misc char-misc-next
        git checkout 7d3e4d807df2a216b9aa2944372f2b3f6ef3f205
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: "auxiliary_device_init" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined!
ERROR: modpost: "__auxiliary_device_add" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined!
>> ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!
>> ERROR: modpost: "__auxiliary_driver_register" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [char-misc:char-misc-next 21/24] ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!
  2022-09-05 10:26 [char-misc:char-misc-next 21/24] ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! kernel test robot
@ 2022-09-05 12:17 ` Kumaravel.Thiagarajan
  0 siblings, 0 replies; 2+ messages in thread
From: Kumaravel.Thiagarajan @ 2022-09-05 12:17 UTC (permalink / raw)
  To: lkp; +Cc: kbuild-all, linux-kernel, gregkh

> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Monday, September 5, 2022 3:57 PM
> To: Kumaravel Thiagarajan - I21417 <Kumaravel.Thiagarajan@microchip.com>
> Cc: kbuild-all@lists.01.org; linux-kernel@vger.kernel.org; Greg Kroah-
> Hartman <gregkh@linuxfoundation.org>
> Subject: [char-misc:char-misc-next 21/24] ERROR: modpost:
> "auxiliary_driver_unregister"
> [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!
> 
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
> char-misc-next
> head:   50e177c5bfd9abc3828cb57e14e6169170f6764a
> commit: 7d3e4d807df2a216b9aa2944372f2b3f6ef3f205 [21/24] misc:
> microchip: pci1xxxx: load gpio driver for the gpio controller auxiliary device
> enumerated by the auxiliary bus driver.
> config: x86_64-randconfig-c042-20220905 (https://download.01.org/0day-
> ci/archive/20220905/202209051843.L37B3c76-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-
> misc.git/commit/?id=7d3e4d807df2a216b9aa2944372f2b3f6ef3f205
>         git remote add char-misc
> https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
>         git fetch --no-tags char-misc char-misc-next
>         git checkout 7d3e4d807df2a216b9aa2944372f2b3f6ef3f205
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>, old ones prefixed by <<):
> 
> ERROR: modpost: "auxiliary_device_init"
> [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined!
> ERROR: modpost: "__auxiliary_device_add"
> [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined!
> >> ERROR: modpost: "auxiliary_driver_unregister"
> [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!
> >> ERROR: modpost: "__auxiliary_driver_register"
> [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!

Greg, I think I must select the AUXILIARY_BUS like below.

config GP_PCI1XXXX
       tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager"
       depends on PCI
       depends on GPIOLIB
       select GPIOLIB_IRQCHIP
       select AUXILIARY_BUS
       help
         PCI1XXXX is a PCIe GEN 3 switch with one of the endpoints having
         multiple functions and one of the functions is a GPIO controller
         which also has registers to interface with the OTP and EEPROM.
         Select yes, no or module here to include or exclude the driver
         for the GPIO function.

I will test my changes and send an add-on patch.

Thank You.

Regards,
Kumar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-05 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 10:26 [char-misc:char-misc-next 21/24] ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! kernel test robot
2022-09-05 12:17 ` Kumaravel.Thiagarajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).