Hi Eslam, kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.18-rc7 next-20251121] [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/Eslam-Khafagy/drm-pl111-replace-dev_-print-functions-with-drm_-variants/20251122-085225 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20251122004951.567753-1-eslam.medhat1993%40gmail.com patch subject: [PATCH RESEND] drm: pl111: replace dev_* print functions with drm_* variants config: arm-nhk8815_defconfig (https://download.01.org/0day-ci/archive/20251124/[email protected]/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251124/[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/pl111/pl111_nomadik.c:7: >> drivers/gpu/drm/pl111/pl111_nomadik.h:11:32: warning: declaration of 'struct >> drm_device' will not be visible outside of this function [-Wvisibility] 11 | void pl111_nomadik_init(struct drm_device *dev); | ^ >> drivers/gpu/drm/pl111/pl111_nomadik.c:12:32: warning: declaration of 'struct >> drm_device' will not be visible outside of this function [-Wvisibility] 12 | void pl111_nomadik_init(struct drm_device *dev) | ^ drivers/gpu/drm/pl111/pl111_nomadik.c:12:6: error: conflicting types for 'pl111_nomadik_init' 12 | void pl111_nomadik_init(struct drm_device *dev) | ^ drivers/gpu/drm/pl111/pl111_nomadik.h:11:6: note: previous declaration is here 11 | void pl111_nomadik_init(struct drm_device *dev); | ^ drivers/gpu/drm/pl111/pl111_nomadik.c:34:2: error: call to undeclared function 'drm_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | drm_info(dev, "set Nomadik PMU mux to CLCD mode\n"); | ^ 2 warnings and 2 errors generated. vim +11 drivers/gpu/drm/pl111/pl111_nomadik.h 10 > 11 void pl111_nomadik_init(struct drm_device *dev); 12 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
