diff options
author | Changcheng Deng <deng.changcheng@zte.com.cn> | 2021-08-28 04:11:08 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-12-21 23:18:39 +0300 |
commit | 8bd18ef9eaac2e812b42da9eb19b2d59293aa25b (patch) | |
tree | 354c6e252a0745635932ebce32e2b8e794850253 /arch/um/os-Linux/registers.c | |
parent | 494545aa9b50a1dcaafcb235e2cb40b246c65169 (diff) | |
download | linux-8bd18ef9eaac2e812b42da9eb19b2d59293aa25b.tar.xz |
um: Replace if (cond) BUG() with BUG_ON()
Fix the following coccinelle reports:
./arch/um/kernel/mem.c:89:2-5: WARNING: Use BUG_ON instead of if
condition followed by BUG.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/registers.c')
0 files changed, 0 insertions, 0 deletions