Re: [PATCH v4 1/2] devcoredump: Add dev_coredumpm_timeout()

From: kernel test robot
Date: Sun Jun 09 2024 - 00:54:05 EST


Hi José,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-xe/drm-xe-next]
[also build test ERROR on wireless/main linus/master v6.10-rc2 next-20240607]
[cannot apply to driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus wireless-next/main]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Jos-Roberto-de-Souza/drm-xe-Increase-devcoredump-timeout/20240608-033441
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20240607193220.229760-1-jose.souza%40intel.com
patch subject: [PATCH v4 1/2] devcoredump: Add dev_coredumpm_timeout()
config: i386-buildonly-randconfig-006-20240609 (https://download.01.org/0day-ci/archive/20240609/202406091205.EPawyDRg-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240609/202406091205.EPawyDRg-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406091205.EPawyDRg-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

In file included from drivers/remoteproc/remoteproc_coredump.c:9:
>> include/linux/devcoredump.h:79:6: warning: no previous prototype for 'dev_coredumpm_timeout' [-Wmissing-prototypes]
79 | void dev_coredumpm_timeout(struct device *dev, struct module *owner,
| ^~~~~~~~~~~~~~~~~~~~~
--
ld: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.o: in function `dev_coredumpm_timeout':
>> dpu_encoder_phys_cmd.c:(.text+0x145c): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.o: in function `dev_coredumpm_timeout':
dpu_encoder_phys_vid.c:(.text+0x13e8): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.o: in function `dev_coredumpm_timeout':
dpu_encoder_phys_wb.c:(.text+0xda0): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o: in function `dev_coredumpm_timeout':
dpu_kms.c:(.text+0x8910): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/disp/msm_disp_snapshot.o: in function `dev_coredumpm_timeout':
msm_disp_snapshot.c:(.text+0x0): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.o: in function `dev_coredumpm_timeout':
msm_disp_snapshot_util.c:(.text+0xd8): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/msm_debugfs.o: in function `dev_coredumpm_timeout':
msm_debugfs.c:(.text+0x534): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/msm_gpu.o: in function `dev_coredumpm_timeout':
msm_gpu.c:(.text+0x8fc): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/msm_kms.o: in function `dev_coredumpm_timeout':
msm_kms.c:(.text+0x108): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_debug.o: in function `dev_coredumpm_timeout':
dp_debug.c:(.text+0x498): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_aux.o: in function `dev_coredumpm_timeout':
dp_aux.c:(.text+0x624): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_catalog.o: in function `dev_coredumpm_timeout':
dp_catalog.c:(.text+0x0): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_ctrl.o: in function `dev_coredumpm_timeout':
dp_ctrl.c:(.text+0xa500): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_display.o: in function `dev_coredumpm_timeout':
dp_display.c:(.text+0x16dc): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_drm.o: in function `dev_coredumpm_timeout':
dp_drm.c:(.text+0x340): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_link.o: in function `dev_coredumpm_timeout':
dp_link.c:(.text+0xcf4): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_panel.o: in function `dev_coredumpm_timeout':
dp_panel.c:(.text+0x174): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here
ld: drivers/gpu/drm/msm/dp/dp_audio.o: in function `dev_coredumpm_timeout':
dp_audio.c:(.text+0x918): multiple definition of `dev_coredumpm_timeout'; drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.o:dpu_encoder.c:(.text+0x1e24): first defined here

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki