Hi Thomas, kernel test robot noticed the following build warnings:
[auto build test WARNING 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/[email protected]/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/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/drm_debugfs_crc.c:41: >> drivers/gpu/drm/drm_internal.h:64:6: warning: no previous prototype for >> function 'drm_client_sysrq_register' [-Wmissing-prototypes] 64 | void drm_client_sysrq_register(struct drm_device *dev) | ^ drivers/gpu/drm/drm_internal.h:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 64 | void drm_client_sysrq_register(struct drm_device *dev) | ^ | static >> drivers/gpu/drm/drm_internal.h:66:6: warning: no previous prototype for >> function 'drm_client_sysrq_unregister' [-Wmissing-prototypes] 66 | void drm_client_sysrq_unregister(struct drm_device *dev) | ^ drivers/gpu/drm/drm_internal.h:66:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 66 | void drm_client_sysrq_unregister(struct drm_device *dev) | ^ | static 2 warnings generated. vim +/drm_client_sysrq_register +64 drivers/gpu/drm/drm_internal.h 58 59 /* drm_client_sysrq.c */ 60 #if defined(CONFIG_DRM_CLIENT) && defined(CONFIG_MAGIC_SYSRQ) 61 void drm_client_sysrq_register(struct drm_device *dev); 62 void drm_client_sysrq_unregister(struct drm_device *dev); 63 #else > 64 void drm_client_sysrq_register(struct drm_device *dev) 65 { } > 66 void drm_client_sysrq_unregister(struct drm_device *dev) 67 { } 68 #endif 69 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
