mbox series

[v3,0/1] Fix i915 error_state_read ptr use

Message ID 20220311003140.508371-1-alan.previn.teres.alexis@intel.com (mailing list archive)
Headers show
Series Fix i915 error_state_read ptr use | expand

Message

Teres Alexis, Alan Previn March 11, 2022, 12:31 a.m. UTC
Fix pointer offset usage in error_state_read
when there is no i915_gpu_coredump but buf offset
is non-zero.

This is the 2nd rev of this series.

Changes from prior revs:
  v3: - Add a fixme comment about handling partial inconsistent
        sysfs reads as per review comment from John Harrison.
  v2: - Fix build issue: uninitialized var
        Reported-by: kernel test robot <lkp@intel.com>

Alan Previn (1):
  drm/i915/reset: Fix error_state_read ptr + offset use

 drivers/gpu/drm/i915/i915_sysfs.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)