Re: [PATCH 3/5] drm/i915: Rename intel_engine_cs struct members

kbuild test robot
2016-03-10T15:19:23Z

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

Hi Tvrtko,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20160310]
[cannot apply to v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Tvrtko-Ursulin/drm-i915-Rename-local-struct-intel_engine_cs-variables/20160310-222447
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All error/warnings (new ones prefixed by >>):

In file included from include/trace/define_trace.h:95:0,
from drivers/gpu/drm/i915/i915_trace.h:807,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
drivers/gpu/drm/i915/./i915_trace.h: In function 'trace_event_raw_event_i915_gem_ring_sync_to':
>> drivers/gpu/drm/i915/./i915_trace.h:467:32: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->sync_to = to_req->ring->id;
^
include/trace/trace_events.h:689:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
>> drivers/gpu/drm/i915/./i915_trace.h:451:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_sync_to,
^
>> drivers/gpu/drm/i915/./i915_trace.h:464:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^
drivers/gpu/drm/i915/./i915_trace.h: In function 'trace_event_raw_event_i915_gem_ring_flush':
drivers/gpu/drm/i915/./i915_trace.h:514:25: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->dev = req->ring->dev->primary->index;
^
include/trace/trace_events.h:689:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
drivers/gpu/drm/i915/./i915_trace.h:502:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_flush,
^
drivers/gpu/drm/i915/./i915_trace.h:513:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^
drivers/gpu/drm/i915/./i915_trace.h:515:26: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->ring = req->ring->id;
^
include/trace/trace_events.h:689:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
drivers/gpu/drm/i915/./i915_trace.h:502:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_flush,
^
drivers/gpu/drm/i915/./i915_trace.h:513:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^
In file included from include/trace/define_trace.h:96:0,
from drivers/gpu/drm/i915/i915_trace.h:807,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
drivers/gpu/drm/i915/./i915_trace.h: In function 'perf_trace_i915_gem_ring_sync_to':
>> drivers/gpu/drm/i915/./i915_trace.h:467:32: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->sync_to = to_req->ring->id;
^
include/trace/perf.h:68:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
>> drivers/gpu/drm/i915/./i915_trace.h:451:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_sync_to,
^
>> drivers/gpu/drm/i915/./i915_trace.h:464:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^
drivers/gpu/drm/i915/./i915_trace.h: In function 'perf_trace_i915_gem_ring_flush':
drivers/gpu/drm/i915/./i915_trace.h:514:25: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->dev = req->ring->dev->primary->index;
^
include/trace/perf.h:68:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
drivers/gpu/drm/i915/./i915_trace.h:502:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_flush,
^
drivers/gpu/drm/i915/./i915_trace.h:513:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^
drivers/gpu/drm/i915/./i915_trace.h:515:26: error: 'struct drm_i915_gem_request' has no member named 'ring'
__entry->ring = req->ring->id;
^
include/trace/perf.h:68:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^
drivers/gpu/drm/i915/./i915_trace.h:502:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_ring_flush,
^
drivers/gpu/drm/i915/./i915_trace.h:513:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^

vim +467 drivers/gpu/drm/i915/./i915_trace.h

bcccff84 Ben Widawsky 2013-09-24 445 __entry->vm = vm;
bcccff84 Ben Widawsky 2013-09-24 446 ),
bcccff84 Ben Widawsky 2013-09-24 447
9297ebf2 Steven Rostedt 2014-03-18 448 TP_printk("dev=%d, vm=%p", __entry->dev, __entry->vm)
bcccff84 Ben Widawsky 2013-09-24 449 );
bcccff84 Ben Widawsky 2013-09-24 450
b52b89da Chris Wilson 2013-09-25 @451 TRACE_EVENT(i915_gem_ring_sync_to,
599d924c John Harrison 2015-05-29 452 TP_PROTO(struct drm_i915_gem_request *to_req,
599d924c John Harrison 2015-05-29 453 struct intel_engine_cs *from,
74328ee5 John Harrison 2014-11-24 454 struct drm_i915_gem_request *req),
599d924c John Harrison 2015-05-29 455 TP_ARGS(to_req, from, req),
b52b89da Chris Wilson 2013-09-25 456
b52b89da Chris Wilson 2013-09-25 457 TP_STRUCT__entry(
b52b89da Chris Wilson 2013-09-25 458 __field(u32, dev)
b52b89da Chris Wilson 2013-09-25 459 __field(u32, sync_from)
b52b89da Chris Wilson 2013-09-25 460 __field(u32, sync_to)
b52b89da Chris Wilson 2013-09-25 461 __field(u32, seqno)
b52b89da Chris Wilson 2013-09-25 462 ),
b52b89da Chris Wilson 2013-09-25 463
b52b89da Chris Wilson 2013-09-25 @464 TP_fast_assign(
b52b89da Chris Wilson 2013-09-25 465 __entry->dev = from->dev->primary->index;
b52b89da Chris Wilson 2013-09-25 466 __entry->sync_from = from->id;
599d924c John Harrison 2015-05-29 @467 __entry->sync_to = to_req->ring->id;
74328ee5 John Harrison 2014-11-24 468 __entry->seqno = i915_gem_request_get_seqno(req);
b52b89da Chris Wilson 2013-09-25 469 ),
b52b89da Chris Wilson 2013-09-25 470

:::::: The code at line 467 was first introduced by commit
:::::: 599d924c6b01e89b53c7879e7d7d89baa8d677d2 drm/i915: Update ring->sync_to() to take a request structure

:::::: TO: John Harrison <John.C.Harrison@Intel.com>
:::::: CC: Daniel Vetter <daniel.vetter@ffwll.ch>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24342 bytes --]

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