All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [agd5f:drm-next 269/296] drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:6211:6: warning: Unused variable: i [unusedVariable]
Date: Mon, 02 Aug 2021 02:25:16 +0800	[thread overview]
Message-ID: <202108020249.TWd3v9cu-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2349 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Alex Deucher <alexander.deucher@amd.com>
CC: Roman Li <Roman.Li@amd.com>

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   8b15864cb6023e43f0e1682f108dcdfb8366875b
commit: 7fd13baeb7a3a48cae12c36c52f06bf4e9e7d728 [269/296] drm/amdgpu/display: add support for multiple backlights
:::::: branch date: 2 days ago
:::::: commit date: 4 days ago
compiler: ia64-linux-gcc (GCC) 10.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

        ^
>> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:6211:6: warning: Unused variable: i [unusedVariable]
    int i;
        ^

vim +6211 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

526c654a8a0641 Emily Deng        2019-05-31  6204  
7578ecda14d521 Alex Deucher      2017-10-10  6205  static void amdgpu_dm_connector_destroy(struct drm_connector *connector)
e7b07ceef2a650 Harry Wentland    2017-08-10  6206  {
c84dec2fe8837f Harry Wentland    2017-09-05  6207  	struct amdgpu_dm_connector *aconnector = to_amdgpu_dm_connector(connector);
e7b07ceef2a650 Harry Wentland    2017-08-10  6208  	const struct dc_link *link = aconnector->dc_link;
1348969ab68cb8 Luben Tuikov      2020-08-24  6209  	struct amdgpu_device *adev = drm_to_adev(connector->dev);
e7b07ceef2a650 Harry Wentland    2017-08-10  6210  	struct amdgpu_display_manager *dm = &adev->dm;
7fd13baeb7a3a4 Alex Deucher      2021-07-08 @6211  	int i;
ada8ce1530a7d1 Harry Wentland    2018-04-20  6212  
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6213  	/*
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6214  	 * Call only if mst_mgr was iniitalized before since it's not done
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6215  	 * for all connector types.
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6216  	 */
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6217  	if (aconnector->mst_mgr.dev)
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6218  		drm_dp_mst_topology_mgr_destroy(&aconnector->mst_mgr);
5dff80bdce9e38 Andrey Grodzovsky 2020-10-14  6219  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

                 reply	other threads:[~2021-08-01 18:25 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=202108020249.TWd3v9cu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.