diff options
author | xu xin <xu.xin16@zte.com.cn> | 2021-12-28 07:32:52 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-01-10 13:25:56 -0500 |
commit | a2e3965df40af2f48ee6c97ed573adb91ced5dac (patch) | |
tree | 8533c703653ff81bbd2f6b55fd8d6f2ab27bf9e6 /include/linux/fpga/fpga-region.h | |
parent | da9e480212582b336b97848c69fdd4ac8860065b (diff) |
ext4: use BUG_ON instead of if condition followed by BUG
BUG_ON would be better.
This issue was detected with the help of Coccinelle.
Reported-by: Zeal robot <zealci@zte.com.cn>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Link: https://lore.kernel.org/r/20211228073252.580296-1-xu.xin16@zte.com.cn
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions