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>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 5 Sep 2022 12:17:20 +0000
From:   <Kumaravel.Thiagarajan@...rochip.com>
To:     <lkp@...el.com>
CC:     <kbuild-all@...ts.01.org>, <linux-kernel@...r.kernel.org>,
        <gregkh@...uxfoundation.org>
Subject: RE: [char-misc:char-misc-next 21/24] ERROR: modpost:
 "auxiliary_driver_unregister"
 [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined!

> -----Original Message-----
> From: kernel test robot <lkp@...el.com>
> Sent: Monday, September 5, 2022 3:57 PM
> To: Kumaravel Thiagarajan - I21417 <Kumaravel.Thiagarajan@...rochip.com>
> Cc: kbuild-all@...ts.01.org; linux-kernel@...r.kernel.org; Greg Kroah-
> Hartman <gregkh@...uxfoundation.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@...el.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@...el.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

Powered by blists - more mailing lists