* [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'
@ 2020-04-23 14:04 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-23 14:04 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-23 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 14:04 [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' kbuild test robot
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.