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]
Message-ID: <20240528083113.GAZlWWUdcO_TZX3VsV@fat_crate.local>
Date: Tue, 28 May 2024 10:31:13 +0200
From: Borislav Petkov <bp@...en8.de>
To: kernel test robot <lkp@...el.com>
Cc: Nuno Sa <nuno.sa@...log.com>, oe-kbuild-all@...ts.linux.dev,
	Linux Memory Management List <linux-mm@...ck.org>,
	Jonathan Cameron <Jonathan.Cameron@...wei.com>,
	Dragos Bogdan <dragos.bogdan@...log.com>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [linux-next:master 6544/8170] ERROR: modpost:
 "__spi_register_driver" [drivers/iio/dac/ad9739a.ko] undefined!

+ lkml.

On Thu, Apr 25, 2024 at 01:48:56AM +0800, kernel test robot wrote:
> Hi Nuno,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   5e4f84f18c4ee9b0ccdc19e39b7de41df21699dd
> commit: e77603d5468b9093c111a998a86604e21a9e7f48 [6544/8170] iio: dac: support the ad9739a RF DAC
> config: csky-randconfig-002-20240424 (https://download.01.org/0day-ci/archive/20240425/202404250156.2PQRWmex-lkp@intel.com/config)
> compiler: csky-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240425/202404250156.2PQRWmex-lkp@intel.com/reproduce)
> 
> 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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202404250156.2PQRWmex-lkp@intel.com/
> 
> All errors (new ones prefixed by >>, old ones prefixed by <<):

..

> WARNING: modpost: missing MODULE_DESCRIPTION() in sound/ac97_bus.o
> >> ERROR: modpost: "spi_write_then_read" [drivers/base/regmap/regmap-spi.ko] undefined!
> >> ERROR: modpost: "spi_sync" [drivers/base/regmap/regmap-spi.ko] undefined!
> >> ERROR: modpost: "spi_async" [drivers/base/regmap/regmap-spi.ko] undefined!
> >> ERROR: modpost: "__spi_register_driver" [drivers/iio/dac/ad9739a.ko] undefined!
> 
> Kconfig warnings: (for reference only)
>    WARNING: unmet direct dependencies detected for REGMAP_SPI
>    Depends on [n]: SPI [=n]
>    Selected by [m]:
>    - AD9739A [=m] && IIO [=m] && (SPI [=n] || COMPILE_TEST [=y])

this thing fires now upstream too, in my build tests:

WARNING: unmet direct dependencies detected for REGMAP_SPI
  Depends on [n]: SPI [=n]
  Selected by [m]:
  - AD9739A [=m] && IIO [=y] && (SPI [=n] || COMPILE_TEST [=y])

WARNING: unmet direct dependencies detected for REGMAP_SPI
  Depends on [n]: SPI [=n]
  Selected by [m]:
  - AD9739A [=m] && IIO [=y] && (SPI [=n] || COMPILE_TEST [=y])

WARNING: unmet direct dependencies detected for REGMAP_SPI
  Depends on [n]: SPI [=n]
  Selected by [m]:
  - AD9739A [=m] && IIO [=y] && (SPI [=n] || COMPILE_TEST [=y])
ERROR: modpost: "spi_sync" [drivers/base/regmap/regmap-spi.ko] undefined!
ERROR: modpost: "spi_async" [drivers/base/regmap/regmap-spi.ko] undefined!
ERROR: modpost: "spi_write_then_read" [drivers/base/regmap/regmap-spi.ko] undefined!
ERROR: modpost: "__spi_register_driver" [drivers/iio/dac/ad9739a.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
make[1]: *** [/home/amd/bpetkov/kernel/linux/Makefile:1886: modpost] Error 2
make: *** [Makefile:240: __sub-make] Error 2

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ