[PATCH v4 0/1] Fix i915 error_state_read ptr use

Alan Previn alan.previn.teres.alexis at intel.com
Fri Mar 11 00:43:10 UTC 2022


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:
  v4: - Mistake on v3, really added the missing fixme this time.
  v3: - Add a fixme comment about handling partial inconsistent
        sysfs reads as per review comment from John Harrison.
      - Add the "fixes" tag referencing the previous patch
        of the same function.
  v2: - Fix build issue: uninitialized var
        Reported-by: kernel test robot <lkp at intel.com>

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

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

-- 
2.25.1



More information about the dri-devel mailing list