public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [esmil:jh7110 38/41] drivers/gpu/drm/verisilicon/vs_dc.c:794:9: warning: variable 'ret' set but not used
@ 2023-12-05 12:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-05 12:07 UTC (permalink / raw)
  To: Keith Zhao; +Cc: llvm, oe-kbuild-all, Emil Renner Berthing

tree:   https://github.com/esmil/linux jh7110
head:   78d944d20650c3fd11da3a45a55c47922c2b69b7
commit: 0f74e00252e01778747e8f8aafe43a09ff246b82 [38/41] drm/vs: Add KMS crtc&plane
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231205/202312052047.4wHjgrw7-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312052047.4wHjgrw7-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/202312052047.4wHjgrw7-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/verisilicon/vs_dc.c:794:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
           u32 i, ret;
                  ^
   1 warning generated.
--
>> drivers/gpu/drm/verisilicon/vs_crtc.c:217:40: warning: unused variable 'vs_sync_mode_enum_list' [-Wunused-const-variable]
   static const struct drm_prop_enum_list vs_sync_mode_enum_list[] = {
                                          ^
   1 warning generated.


vim +/ret +794 drivers/gpu/drm/verisilicon/vs_dc.c

   789	
   790	static irqreturn_t dc_isr(int irq, void *data)
   791	{
   792		struct vs_dc *dc = data;
   793		struct vs_dc_info *dc_info = dc->hw.info;
 > 794		u32 i, ret;
   795	
   796		ret = dc_hw_get_interrupt(&dc->hw);
   797	
   798		for (i = 0; i < dc_info->panel_num; i++)
   799			vs_crtc_handle_vblank(&dc->crtc[i]->base, dc_hw_check_underflow(&dc->hw));
   800	
   801		return IRQ_HANDLED;
   802	}
   803	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-05 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05 12:07 [esmil:jh7110 38/41] drivers/gpu/drm/verisilicon/vs_dc.c:794:9: warning: variable 'ret' set but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox