提交 7d8de8ca 编写于 作者: J Jani Nikula
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册