[drm-misc:drm-misc-next 10/10] drivers/gpu/drm/stm/ltdc.c:494:35: error: unused function 'encoder_to_ltdc'
kernel test robot
lkp at intel.com
Sat May 18 21:19:29 UTC 2024
Hi Ville,
First bad commit (maybe != root cause):
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: 85cb9d603953d77de5cb311d229a79c439ff6bfb
commit: 6597efcfc53585d5fb177b901a41b4ac2f282b99 [10/10] drm/stm: Allow build with COMPILE_TEST=y
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240519/202405190539.epnOVnMx-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240519/202405190539.epnOVnMx-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405190539.epnOVnMx-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/stm/ltdc.c:494:35: error: unused function 'encoder_to_ltdc' [-Werror,-Wunused-function]
494 | static inline struct ltdc_device *encoder_to_ltdc(struct drm_encoder *enc)
| ^~~~~~~~~~~~~~~
1 error generated.
vim +/encoder_to_ltdc +494 drivers/gpu/drm/stm/ltdc.c
b759012c5fa761 Yannick Fertre 2017-04-14 493
b759012c5fa761 Yannick Fertre 2017-04-14 @494 static inline struct ltdc_device *encoder_to_ltdc(struct drm_encoder *enc)
b759012c5fa761 Yannick Fertre 2017-04-14 495 {
b759012c5fa761 Yannick Fertre 2017-04-14 496 return (struct ltdc_device *)enc->dev->dev_private;
b759012c5fa761 Yannick Fertre 2017-04-14 497 }
b759012c5fa761 Yannick Fertre 2017-04-14 498
:::::: The code at line 494 was first introduced by commit
:::::: b759012c5fa761ee08998c80fc4ad6343c258487 drm/stm: Add STM32 LTDC driver
:::::: TO: Yannick Fertre <yannick.fertre at st.com>
:::::: CC: Eric Anholt <eric at anholt.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list