1
linux/fs/xfs/support
Geert Uytterhoeven cf78859f52 xfs: Do not name variables "panic"
On platforms that call panic() inside their BUG() macro (m68k/sun3, and
all platforms that don't set HAVE_ARCH_BUG), compilation fails with:

| fs/xfs/support/debug.c: In function ‘xfs_cmn_err’:
| fs/xfs/support/debug.c:92: error: called object ‘panic’ is not a function

as the local variable "panic" conflicts with the "panic()" function.
Rename the local variable to resolve this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-17 12:39:07 -08:00
..
debug.c xfs: Do not name variables "panic" 2011-01-17 12:39:07 -08:00
debug.h xfs: prevent NMI timeouts in cmn_err 2011-01-12 08:46:41 -06:00
uuid.c xfs: cleanup uuid handling 2009-03-30 10:21:31 +02:00
uuid.h xfs: cleanup uuid handling 2009-03-30 10:21:31 +02:00