未验证 提交 76df441a 编写于 作者: M Miaohe Lin 提交者: Christian Brauner

signal: Convert to the new fallthrough notation

Switch from using the /* fall through */ comment style notation to the new,
preferred notation as outlined in our docs.
Signed-off-by: NMiaohe Lin <linmiaohe@huawei.com>
Acked-by: NChristian Brauner <christian.brauner@ubuntu.com>
[christian.brauner@ubuntu.com: rewrite commit message]
Link: https://lore.kernel.org/r/20200814083932.4975-1-linmiaohe@huawei.comSigned-off-by: NChristian Brauner <christian.brauner@ubuntu.com>
上级 28c41efd
...@@ -851,7 +851,7 @@ static int check_kill_permission(int sig, struct kernel_siginfo *info, ...@@ -851,7 +851,7 @@ static int check_kill_permission(int sig, struct kernel_siginfo *info,
*/ */
if (!sid || sid == task_session(current)) if (!sid || sid == task_session(current))
break; break;
/* fall through */ fallthrough;
default: default:
return -EPERM; return -EPERM;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册