md: dm-bufio: Use BUG_ON instead of if BUG
Subsystems (2)
PATCH 1/1 md: dm-bufio: Use BUG_ON instead of if BUG
Use BUG_ON instead of if BUG
Signed-off-by Anup Limbu <[email protected]>
--- drivers/md/dm-bufio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/md/dm-bufio.c +1 -2
@@ -1891,8 +1891,7 @@ static void __exit dm_bufio_exit(void) bug =1 ; } -if (bug) -BUG (); +BUG_ON (bug); }module_init (dm_bufio_init)
Signature · 1 line
1.9.1