Skip to content
Commit 24271ffe authored by Yang Li's avatar Yang Li Committed by Richard Weinberger
Browse files

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent ad3d1991
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment