tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c1649ec55708ae42091a2f1bca1ab49ecd722d55 commit: 5d5fb74630c1896aa80f01a551d0a0e82e4d5765 drm/gma500: Cosmetic cleanup of irq code date: 10 months ago config: i386-randconfig-a013 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d5fb74630c1896aa80f01a551d0a0e82e4d5765 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 5d5fb74630c1896aa80f01a551d0a0e82e4d5765 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/gma500/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/gma500/psb_irq.c:35:19: warning: unused function 'gma_pipe_event' [-Wunused-function] static inline u32 gma_pipe_event(int pipe) ^ 1 warning generated. vim +/gma_pipe_event +35 drivers/gpu/drm/gma500/psb_irq.c 34 > 35 static inline u32 gma_pipe_event(int pipe) 36 { 37 if (pipe == 0) 38 return _PSB_PIPEA_EVENT_FLAG; 39 if (pipe == 1) 40 return _MDFLD_PIPEB_EVENT_FLAG; 41 if (pipe == 2) 42 return _MDFLD_PIPEC_EVENT_FLAG; 43 BUG(); 44 } 45 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests