aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2021-07-02 11:46:42 +0100
committerMatthew Auld <matthew.auld@intel.com>2021-07-07 09:52:53 +0100
commitb23228f287bc7dd970fed85f15ea4630b93fc8a0 (patch)
tree150a02abe45427ec8e2ed9ce2a163db160b0437c /drivers/gpu/drm/i915/i915_request.c
parentdrm/i915/selftests: fix smatch warning in igt_check_blocks (diff)
downloadwireguard-linux-b23228f287bc7dd970fed85f15ea4630b93fc8a0.tar.xz
wireguard-linux-b23228f287bc7dd970fed85f15ea4630b93fc8a0.zip
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 <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Ramalingam C <ramalingam.c@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210702104642.1189978-2-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions