public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jason Ekstrand <jason@jlekstrand.net>
Cc: clang-built-linux@googlegroups.com,
	intel-gfx@lists.freedesktop.org, kbuild-all@lists.01.org,
	dri-devel@lists.freedesktop.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [Intel-gfx] [drm-intel:drm-intel-gt-next 6/30] drivers/gpu/drm/i915/gem/i915_gem_context.c:364:1: error: unused function '__context_engines_static'
Date: Wed, 21 Jul 2021 02:31:28 +0800	[thread overview]
Message-ID: <202107210219.sg9PXPkA-lkp@intel.com> (raw)

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

tree:   git://anongit.freedesktop.org/drm-intel drm-intel-gt-next
head:   ca06f93638362bf83584cdf33897822bf1578cf9
commit: 4a766ae40ec8330103a27922b5aa978fdf8bc005 [6/30] drm/i915: Drop the CONTEXT_CLONE API (v2)
config: x86_64-randconfig-r024-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add drm-intel git://anongit.freedesktop.org/drm-intel
        git fetch --no-tags drm-intel drm-intel-gt-next
        git checkout 4a766ae40ec8330103a27922b5aa978fdf8bc005
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/i915/gem/i915_gem_context.c:364:1: error: unused function '__context_engines_static' [-Werror,-Wunused-function]
   __context_engines_static(const struct i915_gem_context *ctx)
   ^
   1 error generated.


vim +/__context_engines_static +364 drivers/gpu/drm/i915/gem/i915_gem_context.c

40521054fd46f9 drivers/gpu/drm/i915/i915_gem_context.c     Ben Widawsky 2012-06-04  362  
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  363  static inline struct i915_gem_engines *
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23 @364  __context_engines_static(const struct i915_gem_context *ctx)
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  365  {
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  366  	return rcu_dereference_protected(ctx->engines, true);
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  367  }
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  368  

:::::: The code at line 364 was first introduced by commit
:::::: 2e0986a58cc4f2e7f9e7ede19ec32b9c116d0068 drm/i915/gem: Cancel contexts when hangchecking is disabled

:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris@chris-wilson.co.uk>

---
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: 40557 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

                 reply	other threads:[~2021-07-20 18:31 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=202107210219.sg9PXPkA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jason@jlekstrand.net \
    --cc=kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox