diff options
| author | Matthew Auld <[email protected]> | 2021-07-02 11:46:42 +0100 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2021-07-07 09:52:53 +0100 |
| commit | b23228f287bc7dd970fed85f15ea4630b93fc8a0 (patch) | |
| tree | 150a02abe45427ec8e2ed9ce2a163db160b0437c /tools/perf/scripts/python/bin | |
| parent | 0c1145e05ce1c38d81f332263186092294ec7d90 (diff) | |
drm/i915/selftests: fix smatch warning in mock_reserve
If mock_region_create fails then mem will be an error pointer. Instead
we just need to use the correct ordering for the onion unwind.
igt_mock_reserve() error: 'mem' dereferencing possible ERR_PTR()
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Reviewed-by: Ramalingam C <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions