BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
Subsystems (3)
PATCH 1/8 BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
hi,
this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away
Signed-off-by Eric Sesterhenn <[email protected]>
fs/binfmt_elf_fdpic.c renamed from fs/binfmt_elf_fdpic.c.orig +1 -2
@@ -572,8 +572,7 @@ static int create_elf_fdpic_tables(struc csp -=sizeof (unsigned long );__put_user (bprm->argc, (unsigned long *) csp); -if (csp != sp) -BUG (); +BUG_ON (csp != sp);/* fill in the argv[] array */ #ifdef CONFIG_MMU
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors