Skip to contentSkip to conversation

FATAL: drivers/mfd/madera: sizeof(struct of_device_id)=200 is not a modulo of the size of section __mod_of__<identifier>_device_table=1504.

PATCH Rong Chen 1 participant 1 message Jun 8, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20200608032958.GA1591794@ubuntu-n2-xlarge-x86

Rong Chen

author
#1 lore raw
Quoted 27 lines · Nathan Chancellor
Quoted 17 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head:   65151bf9f715983d62613a4d9196525eb64dda53
commit: 7b24a4a363a90d8708d6b59046843eddf3eee1a7 [2642/9999] mfd: madera: Add missing of table registration
config: x86_64-randconfig-a011-20200607 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project e429cffd4f228f70c1d9df0e5d77c08590dd9766)

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 7b24a4a363a90d8708d6b59046843eddf3eee1a7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate

Quoted 9 lines

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

Quoted 1 line
Quoted 1 line

FATAL: drivers/mfd/madera: sizeof(struct of_device_id)=200 is not a modulo of the size of section __mod_of__<identifier>_device_table=1504.

Fix definition of struct of_device_id in mod_devicetable.h

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

Quoted 7 lines

LLVM issue (as evidenced by the warning showing up on a patch that is from a year ago), please add this to the list of warnings to only send to our mailing list to avoid troubling kernel developers.

https://github.com/ClangBuiltLinux/linux/issues/1045

https://reviews.llvm.org/D81346

Hi Nathan,

Thanks for the advice, we'll only send the warning to clang mailing list.

Best Regards,
Rong Chen