Commit 7d8de8ca authored by Jani Nikula's avatar Jani Nikula
parent 5e9a0200
...@@ -444,7 +444,7 @@ static int icl_pcode_read_mem_global_info(struct drm_i915_private *dev_priv) ...@@ -444,7 +444,7 @@ static int icl_pcode_read_mem_global_info(struct drm_i915_private *dev_priv)
break; break;
default: default:
MISSING_CASE(val & 0xf); MISSING_CASE(val & 0xf);
return -1; return -EINVAL;
} }
} else { } else {
switch (val & 0xf) { switch (val & 0xf) {
...@@ -462,7 +462,7 @@ static int icl_pcode_read_mem_global_info(struct drm_i915_private *dev_priv) ...@@ -462,7 +462,7 @@ static int icl_pcode_read_mem_global_info(struct drm_i915_private *dev_priv)
break; break;
default: default:
MISSING_CASE(val & 0xf); MISSING_CASE(val & 0xf);
return -1; return -EINVAL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment