Re: [PATCH] do_wp_page: BUG on invalid pfn

From: Russell King
Date: Fri Aug 15 2003 - 16:40:05 EST


On Fri, Aug 15, 2003 at 05:15:45PM -0400, Ed L Cashin wrote:
> + dump_stack();
> + BUG();

Is there much point to both dump_stack and BUG() - BUG is supposed to
provide a calltrace, which dump_stack also does. Do we really need two
copies?

--
Russell King (rmk@xxxxxxxxxxxxxxxx) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/