Re: include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'
On Fri, Mar 19, 2021 at 9:05 AM kernel test robot lkp@intel.com wrote:
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: de8860b1ed4701ea7e6f760f02d79ca6a3b656a1 iio: magnetometer: Add driver for Yamaha YAS530 date: 10 weeks ago config: m68k-randconfig-s032-20210318 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-277-gc089cd2d-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i... git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout de8860b1ed4701ea7e6f760f02d79ca6a3b656a1 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k
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 >>):
In file included from include/linux/build_bug.h:5, from include/linux/bitfield.h:10, from drivers/iio/magnetometer/yamaha-yas530.c:22:
Isn't it fixed already somewhere?
...
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
This one though is interesting. Cc Takashi and Mark.
On Fri, Mar 19, 2021 at 10:57 AM Andy Shevchenko andy.shevchenko@gmail.com wrote:
On Fri, Mar 19, 2021 at 9:05 AM kernel test robot lkp@intel.com wrote:
Hi Linus,
FYI, the error/warning still remains.
(...)
In file included from include/linux/build_bug.h:5, from include/linux/bitfield.h:10, from drivers/iio/magnetometer/yamaha-yas530.c:22:
Isn't it fixed already somewhere?
It is, I think Jonathan already applied the fix, it is just waiting to percolate up to Greg and then to Torvals: https://lore.kernel.org/linux-iio/20210221154511.75b3d8a6@archlinux/
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
This one though is interesting.
This looks like nothing to me :/ As confused as ever about Kconfig.
Yours, Linus Walleij
On Mon, 22 Mar 2021 14:33:46 +0100 Linus Walleij linus.walleij@linaro.org wrote:
On Fri, Mar 19, 2021 at 10:57 AM Andy Shevchenko andy.shevchenko@gmail.com wrote:
On Fri, Mar 19, 2021 at 9:05 AM kernel test robot lkp@intel.com wrote:
Hi Linus,
FYI, the error/warning still remains.
(...)
In file included from include/linux/build_bug.h:5, from include/linux/bitfield.h:10, from drivers/iio/magnetometer/yamaha-yas530.c:22:
Isn't it fixed already somewhere?
It is, I think Jonathan already applied the fix, it is just waiting to percolate up to Greg and then to Torvals: https://lore.kernel.org/linux-iio/20210221154511.75b3d8a6@archlinux/
I'm being slow. Can apply it now as previous set of fixes have gone in. I'll pick it up when I'm the right machine.
Jonathan
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
This one though is interesting.
This looks like nothing to me :/ As confused as ever about Kconfig.
Yours, Linus Walleij
participants (3)
-
Andy Shevchenko
-
Jonathan Cameron
-
Linus Walleij