Re: [PATCH 2/3] drm/client: Support emergency restore via sysrq for all clients

kernel test robot
2025-11-10T13:48:53Z

Hi Thomas,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20251107]
[cannot apply to drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.18-rc4 v6.18-rc3 v6.18-rc2 v6.18-rc5]
[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/Thomas-Zimmermann/drm-client-Pass-force-parameter-to-client-restore/20251107-223026
base: next-20251107
patch link: https://lore.kernel.org/r/20251107142612.467817-3-tzimmermann%40suse.de
patch subject: [PATCH 2/3] drm/client: Support emergency restore via sysrq for all clients
config: powerpc64-randconfig-001-20251110 (https://download.01.org/0day-ci/archive/20251110/202511102156.RRA8JQGz-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 0d786b9a207aa0e6d88dde7fd9ffe0b364db69a4)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251110/202511102156.RRA8JQGz-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511102156.RRA8JQGz-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_auth.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_unregister
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_unregister) in archive vmlinux.a
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_auth.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_edid.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_unregister
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_unregister) in archive vmlinux.a
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_edid.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_encoder.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_unregister
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_unregister) in archive vmlinux.a
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_encoder.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_file.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_unregister
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_unregister) in archive vmlinux.a
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_file.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_framebuffer.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_unregister
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_unregister) in archive vmlinux.a
>>> defined at drm_internal.h:67 (drivers/gpu/drm/drm_internal.h:67)
>>> drivers/gpu/drm/drm_framebuffer.o:(.text+0x40) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: drm_client_sysrq_register
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_atomic.o:(drm_client_sysrq_register) in archive vmlinux.a
>>> defined at drm_internal.h:65 (drivers/gpu/drm/drm_internal.h:65)
>>> drivers/gpu/drm/drm_gem.o:(.text+0x0) in archive vmlinux.a
..

--
0-DAY CI Kernel Test Service