All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-review:UPDATE-20200423-074609/Mika-Kuoppala/drm-i915-Make-define-for-lrc-state-offset/20200423-065449 2/5] drivers/gpu/drm/i915/gt/intel_lrc.c:3251:20: error: unused variable 'batch_start'
Date: Thu, 23 Apr 2020 22:04:25 +0800	[thread overview]
Message-ID: <202004232222.Fm23LTb3%lkp@intel.com> (raw)

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

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20200423-074609/Mika-Kuoppala/drm-i915-Make-define-for-lrc-state-offset/20200423-065449
head:   c97510eb882a27922ca145ffe61c8ec23e156ee1
commit: e2162e3fc97c1eb42e6ffa2c4e5abe163b8b7ac4 [2/5] drm/i915: Add per ctx batchbuffer wa for timestamp
config: x86_64-randconfig-d001-20200422 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project bbf386f02b05db017fda66875cc5edef70779244)
reproduce:
        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 checkout e2162e3fc97c1eb42e6ffa2c4e5abe163b8b7ac4
        # 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: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/intel_lrc.c:3251:20: error: unused variable 'batch_start' [-Werror,-Wunused-variable]
           const u32 * const batch_start = cs;
                             ^
   1 error generated.

vim +/batch_start +3251 drivers/gpu/drm/i915/gt/intel_lrc.c

  3245	
  3246	static u32 *
  3247	execlists_emit_ctx_bb(struct intel_context *ce,
  3248			      u32 *(*emit)(struct intel_context *, u32 *))
  3249	{
  3250		u32 *cs = context_indirect_bb(ce);
> 3251		const u32 * const batch_start = cs;
  3252	
  3253		cs = emit(ce, cs);
  3254	
  3255		GEM_DEBUG_BUG_ON(cs - batch_start >
  3256				 (I915_GTT_PAGE_SIZE - 4)/sizeof(*cs));
  3257	
  3258		return cs;
  3259	}
  3260	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32967 bytes --]

                 reply	other threads:[~2020-04-23 14: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=202004232222.Fm23LTb3%lkp@intel.com \
    --to=lkp@intel.com \
    --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 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.