VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Eric Sesterhenn <snakebyte@gmx.de> 2006-03-24 18:38:48 +0100 committer: Adrian Bunk <bunk@stusta.de> 2006-03-24 18:38:48 +0100 commit: 88bcd51262ed45212d1b3a65abbac46eaf36bfeb parent: b1eecf7e04f34e3248ca8d14e49156da63f05117
Commit Summary:
BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index 5b3076e8ee90..a2e48c999c24 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -572,8 +572,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
 	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