diff options
author | Michal Wajdeczko <[email protected]> | 2021-09-26 20:45:42 +0200 |
---|---|---|
committer | Matt Roper <[email protected]> | 2021-10-01 12:04:23 -0700 |
commit | 217ecd310d56cca0bfd7c3ee1ff1deafae4ffed1 (patch) | |
tree | e1f29c1dac018c5911d47a5471d3b04ca77d641f /fs/jbd2/commit.c | |
parent | 9eddd5a9a2aee15d4f0c701388cbdea70e49c6a9 (diff) |
drm/i915/guc: Verify result from CTB (de)register action
In commit b839a869dfc9 ("drm/i915/guc: Add support for data
reporting in GuC responses") we missed the hypothetical case
that GuC might return positive non-zero value as success data.
While that would be lucky treated as error case, and at the
end will result in reporting valid -EIO, in the meantime this
value will be passed to ERR_PTR that could be misleading.
v2: rebased
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Dan Carpenter <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions