[PATCH v4 15/27] drm/bridge: ti-sn65dsi86: Break GPIO and MIPI-to-eDP bridge into sub-drivers
kernel test robot
lkp at intel.com
Sat Apr 17 02:31:11 UTC 2021
Hi Douglas,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20210416]
[cannot apply to wsa/i2c/for-next robh/for-next linus/master v5.12-rc7 v5.12-rc6 v5.12-rc5 v5.12-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Douglas-Anderson/drm-Fix-EDID-reading-on-ti-sn65dsi86-solve-some-chicken-and-egg-problems/20210417-064243
base: 18250b538735142307082e4e99e3ae5c12d44013
config: x86_64-randconfig-a002-20210416 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project f549176ad976caa3e19edd036df9a7e12770af7c)
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
# https://github.com/0day-ci/linux/commit/a870b6e38fac3e5453e4b74fdfe6eb05c8be7ea7
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Douglas-Anderson/drm-Fix-EDID-reading-on-ti-sn65dsi86-solve-some-chicken-and-egg-problems/20210417-064243
git checkout a870b6e38fac3e5453e4b74fdfe6eb05c8be7ea7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:1308:1: error: redefinition of '__inittest'
module_auxiliary_driver(ti_sn_bridge_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:130:42: note: expanded from macro '\
module_init'
static inline initcall_t __maybe_unused __inittest(void) \
^
drivers/gpu/drm/bridge/ti-sn65dsi86.c:1190:1: note: previous definition is here
module_auxiliary_driver(ti_sn_gpio_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:130:42: note: expanded from macro '\
module_init'
static inline initcall_t __maybe_unused __inittest(void) \
^
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:1308:1: error: redefinition of 'init_module'
module_auxiliary_driver(ti_sn_bridge_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:132:6: note: expanded from macro '\
module_init'
int init_module(void) __copy(initfn) \
^
drivers/gpu/drm/bridge/ti-sn65dsi86.c:1190:1: note: previous definition is here
module_auxiliary_driver(ti_sn_gpio_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:132:6: note: expanded from macro '\
module_init'
int init_module(void) __copy(initfn) \
^
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:1308:1: error: redefinition of '__exittest'
module_auxiliary_driver(ti_sn_bridge_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:267:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:138:42: note: expanded from macro '\
module_exit'
static inline exitcall_t __maybe_unused __exittest(void) \
^
drivers/gpu/drm/bridge/ti-sn65dsi86.c:1190:1: note: previous definition is here
module_auxiliary_driver(ti_sn_gpio_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:267:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:138:42: note: expanded from macro '\
module_exit'
static inline exitcall_t __maybe_unused __exittest(void) \
^
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:1308:1: error: redefinition of 'cleanup_module'
module_auxiliary_driver(ti_sn_bridge_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:267:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:140:7: note: expanded from macro '\
module_exit'
void cleanup_module(void) __copy(exitfn) \
^
drivers/gpu/drm/bridge/ti-sn65dsi86.c:1190:1: note: previous definition is here
module_auxiliary_driver(ti_sn_gpio_driver);
^
include/linux/auxiliary_bus.h:71:2: note: expanded from macro 'module_auxiliary_driver'
module_driver(__auxiliary_driver, auxiliary_driver_register, auxiliary_driver_unregister)
^
include/linux/device/driver.h:267:3: note: expanded from macro 'module_driver'
} \
^
include/linux/module.h:140:7: note: expanded from macro '\
module_exit'
void cleanup_module(void) __copy(exitfn) \
^
4 errors generated.
vim +/__inittest +1308 drivers/gpu/drm/bridge/ti-sn65dsi86.c
1307
> 1308 module_auxiliary_driver(ti_sn_bridge_driver);
1309
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 38769 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210417/7f81b69f/attachment-0001.gz>
More information about the dri-devel
mailing list