The patch titled Subject: proc_sysctl.c: use BUG_ON instead of BUG has been added to the -mm tree. Its filename is proc_sysctlc-use-bug_on-instead-of-bug.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Prasad Joshi <prasadjoshi.linux@xxxxxxxxx> Subject: proc_sysctl.c: use BUG_ON instead of BUG The use of if (!head) BUG(); can be replaced with the single line BUG_ON(!head). Signed-off-by: Prasad Joshi <prasadjoshi.linux@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/proc_sysctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN fs/proc/proc_sysctl.c~proc_sysctlc-use-bug_on-instead-of-bug fs/proc/proc_sysctl.c --- a/fs/proc/proc_sysctl.c~proc_sysctlc-use-bug_on-instead-of-bug +++ a/fs/proc/proc_sysctl.c @@ -266,8 +266,7 @@ void sysctl_head_put(struct ctl_table_he static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head) { - if (!head) - BUG(); + BUG_ON(!head); spin_lock(&sysctl_lock); if (!use_table(head)) head = ERR_PTR(-ENOENT); _ Patches currently in -mm which might be from prasadjoshi.linux@xxxxxxxxx are linux-next.patch proc_sysctlc-use-bug_on-instead-of-bug.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html