diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-17 10:11:36 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-04-16 00:10:37 +0300 |
commit | 24271ffed750bc84ea8f73bbab30c59d53f56171 (patch) | |
tree | 324980ec289667993771159cbe5ff7ee831caef9 /drivers/fpga/fpga-mgr.c | |
parent | ad3d19911632debc886ef4a992d41d6de7927006 (diff) | |
download | linux-24271ffed750bc84ea8f73bbab30c59d53f56171.tar.xz |
um: Replace if (cond) BUG() with BUG_ON()
Fix the following coccinelle reports:
./arch/um/kernel/mem.c:77:3-6: WARNING: Use BUG_ON instead of if
condition followed by BUG.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions