From: kernel test robot <lkp@intel.com>
To: Ben Skeggs <bskeggs@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Lyude Paul <lyude@redhat.com>
Subject: [skeggsb:03.00-disp 48/65] drivers/gpu/drm/nouveau/nouveau_display.c:755:29: error: unused variable 'drm'
Date: Fri, 15 Oct 2021 16:03:23 +0800 [thread overview]
Message-ID: <202110151604.51YUyHbF-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2271 bytes --]
tree: https://github.com/skeggsb/linux 03.00-disp
head: 9d141f4c5d74118aa6e66daa9fde389857627d89
commit: 9ab6dbfd169dd7c2329b2d8aeee09926c49d3280 [48/65] drm/nouveau/kms: switch hpd_lock from mutex to spinlock
config: arc-buildonly-randconfig-r002-20211014 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.0
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://github.com/skeggsb/linux/commit/9ab6dbfd169dd7c2329b2d8aeee09926c49d3280
git remote add skeggsb https://github.com/skeggsb/linux
git fetch --no-tags skeggsb 03.00-disp
git checkout 9ab6dbfd169dd7c2329b2d8aeee09926c49d3280
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/nouveau/nouveau_display.c: In function 'nouveau_display_destroy':
>> drivers/gpu/drm/nouveau/nouveau_display.c:755:29: error: unused variable 'drm' [-Werror=unused-variable]
755 | struct nouveau_drm *drm = nouveau_drm(dev);
| ^~~
cc1: all warnings being treated as errors
vim +/drm +755 drivers/gpu/drm/nouveau/nouveau_display.c
27d5030a235d89 Ben Skeggs 2011-10-06 750
27d5030a235d89 Ben Skeggs 2011-10-06 751 void
27d5030a235d89 Ben Skeggs 2011-10-06 752 nouveau_display_destroy(struct drm_device *dev)
27d5030a235d89 Ben Skeggs 2011-10-06 753 {
77145f1cbdf8d2 Ben Skeggs 2012-07-31 754 struct nouveau_display *disp = nouveau_display(dev);
d297ce4b5d490e Lyude Paul 2020-08-26 @755 struct nouveau_drm *drm = nouveau_drm(dev);
27d5030a235d89 Ben Skeggs 2011-10-06 756
:::::: The code at line 755 was first introduced by commit
:::::: d297ce4b5d490eab60bede36bfd5da6fbcd416cf drm/nouveau/kms: Only use hpd_work for reprobing in HPD paths
:::::: TO: Lyude Paul <lyude@redhat.com>
:::::: CC: Lyude Paul <lyude@redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 44673 bytes --]
reply other threads:[~2021-10-15 8:04 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=202110151604.51YUyHbF-lkp@intel.com \
--to=lkp@intel.com \
--cc=bskeggs@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lyude@redhat.com \
/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
all inboxes | Powered by JetHome®