* [linux-next:master 9583/10474] drivers/gpu/drm/i915/gt/intel_lrc.c:2523:2: error: implicit declaration of function 'i915_gpu_coredump_put'; did you mean 'i915_gpu_coredump_alloc'?
@ 2020-01-21 8:02 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-21 8:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3665 bytes --]
Hi Chris,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ccf0726b5c8e44469a1b4f264a53a259c59d2944
commit: 748317386afb235e11616098d2c7772e49776b58 [9583/10474] drm/i915/execlists: Offline error capture
config: i386-randconfig-c002-20200121 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 748317386afb235e11616098d2c7772e49776b58
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'execlists_capture_work':
drivers/gpu/drm/i915/gt/intel_lrc.c:2522:25: error: passing argument 1 of 'i915_error_state_store' from incompatible pointer type [-Werror=incompatible-pointer-types]
i915_error_state_store(cap->error);
^~~
In file included from drivers/gpu/drm/i915/i915_drv.h:97:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:136:
drivers/gpu/drm/i915/i915_gpu_error.h:317:1: note: expected 'struct drm_i915_private *' but argument is of type 'struct i915_gpu_coredump *'
i915_error_state_store(struct drm_i915_private *i915,
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:2522:2: error: too few arguments to function 'i915_error_state_store'
i915_error_state_store(cap->error);
^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_drv.h:97:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:136:
drivers/gpu/drm/i915/i915_gpu_error.h:317:1: note: declared here
i915_error_state_store(struct drm_i915_private *i915,
^~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/gt/intel_lrc.c:2523:2: error: implicit declaration of function 'i915_gpu_coredump_put'; did you mean 'i915_gpu_coredump_alloc'? [-Werror=implicit-function-declaration]
i915_gpu_coredump_put(cap->error);
^~~~~~~~~~~~~~~~~~~~~
i915_gpu_coredump_alloc
cc1: all warnings being treated as errors
vim +2523 drivers/gpu/drm/i915/gt/intel_lrc.c
2499
2500 static void execlists_capture_work(struct work_struct *work)
2501 {
2502 struct execlists_capture *cap = container_of(work, typeof(*cap), work);
2503 const gfp_t gfp = GFP_KERNEL | __GFP_RETRY_MAYFAIL | __GFP_NOWARN;
2504 struct intel_engine_cs *engine = cap->rq->engine;
2505 struct intel_gt_coredump *gt = cap->error->gt;
2506 struct intel_engine_capture_vma *vma;
2507
2508 /* Compress all the objects attached to the request, slow! */
2509 vma = intel_engine_coredump_add_request(gt->engine, cap->rq, gfp);
2510 if (vma) {
2511 struct i915_vma_compress *compress =
2512 i915_vma_capture_prepare(gt);
2513
2514 intel_engine_coredump_add_vma(gt->engine, vma, compress);
2515 i915_vma_capture_finish(gt, compress);
2516 }
2517
2518 gt->simulated = gt->engine->simulated;
2519 cap->error->simulated = gt->simulated;
2520
2521 /* Publish the error state, and announce it to the world */
2522 i915_error_state_store(cap->error);
> 2523 i915_gpu_coredump_put(cap->error);
2524
2525 /* Return this request and all that depend upon it for signaling */
2526 execlists_unhold(engine, cap->rq);
2527
2528 kfree(cap);
2529 }
2530
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36322 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-21 8:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-21 8:02 [linux-next:master 9583/10474] drivers/gpu/drm/i915/gt/intel_lrc.c:2523:2: error: implicit declaration of function 'i915_gpu_coredump_put'; did you mean 'i915_gpu_coredump_alloc'? 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.