提交 68dc7081 编写于 作者: W Wang ShaoBo 提交者: Zheng Zengkai

arm64/mpam: Fix indent format error in resctrl_parse_param()

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I61CPK
CVE: NA

--------------------------------

This fixes indent format error in resctrl_parse_param():
 fs/resctrlfs.c:616 resctrl_parse_param() warn: ignoring unreachable code.
 fs/resctrlfs.c:616 resctrl_parse_param() warn: inconsistent indenting
 fs/resctrlfs.c:619 resctrl_parse_param() warn: inconsistent indenting

Fixes: 100e2317 ("arm64/mpam: Use fs_context to parse mount options")
Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 6b7fb950
......@@ -622,12 +622,11 @@ static int resctrl_parse_param(struct fs_context *fc, struct fs_parameter *param
case Opt_caPrio:
ctx->enable_caPrio = true;
return 0;
default:
break;
}
return 0;
}
return -EINVAL;
return -EINVAL;
}
static void resctrl_fs_context_free(struct fs_context *fc)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册