FATAL: drivers/gpio/gpio-mb86s7x: sizeof(struct of_device_id)=200 is not a modulo of the size of section __mod_of__<identifier>_device_table=512.

From: kernel test robot
Date: Mon Jun 08 2020 - 20:39:15 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: abfbb29297c27e3f101f348dc9e467b0fe70f919
commit: b7dca6dd1e591ad19a9aae716f3898be8063f880 kbuild: create *.mod with full directory path and remove MODVERDIR
date: 11 months ago
config: x86_64-randconfig-a002-20200608 (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 b7dca6dd1e591ad19a9aae716f3898be8063f880
# 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
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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

>> FATAL: drivers/gpio/gpio-mb86s7x: sizeof(struct of_device_id)=200 is not a modulo of the size of section __mod_of__<identifier>_device_table=512.
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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip