drm/i915/gem: add missing else
authorkatrinzhou <katrinzhou@tencent.com>
Tue, 21 Jun 2022 12:49:26 +0000 (13:49 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 22 Jun 2022 06:50:03 +0000 (07:50 +0100)
commit7482a65664c16cc88eb84d2b545a1fed887378a1
tree8640d228d2932ddbb8700fc2c3dd1e6b4f5143c9
parent14d6a086f6b91238873d3363f840a91b3aa062de
drm/i915/gem: add missing else

Add missing else in set_proto_ctx_param() to fix coverity issue.

Addresses-Coverity: ("Unused value")
Fixes: d4433c7600f7 ("drm/i915/gem: Use the proto-context to handle create parameters (v5)")
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: katrinzhou <katrinzhou@tencent.com>
[tursulin: fixup alignment]
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220621124926.615884-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_context.c