]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix typecheck macro in GT_TRACE
authorVenkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Mon, 16 Dec 2019 18:53:32 +0000 (10:53 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Dec 2019 23:13:12 +0000 (23:13 +0000)
commit96f544941bea0130253856a6539881eface33b96
tree0680c434990e200313eec9f90ccd807ce3d110f6
parenta40dacfad08c8a9d9d709695c3e9800735679611
drm/i915: Fix typecheck macro in GT_TRACE

typecheck() macro creates an huge stack size causing
issues with static analysis with coverity, addressing
this with creating a local pointer.

Fixes: f6ca47391eb1 ("drm/i915: Introduce new macros for tracing")
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191216185332.83289-1-venkata.s.dhanalakota@intel.com
drivers/gpu/drm/i915/gt/intel_gt.h