public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Keith Zhao <keith.zhao@starfivetech.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Emil Renner Berthing <emil.renner.berthing@canonical.com>
Subject: [esmil:jh7110 38/41] drivers/gpu/drm/verisilicon/vs_dc.c:794:9: warning: variable 'ret' set but not used
Date: Tue, 5 Dec 2023 20:07:57 +0800	[thread overview]
Message-ID: <202312052047.4wHjgrw7-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-05 12:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202312052047.4wHjgrw7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=emil.renner.berthing@canonical.com \
    --cc=keith.zhao@starfivetech.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox