staging/fwserial: Fix build breakage when !CONFIG_BUG
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 27 Nov 2012 14:30:45 +0000 (09:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 16:44:47 +0000 (08:44 -0800)
commiteef6e7b286e6dcf39a9b8c1d31477ee489451a8a
tree67244899269784d7fa09eff9edb8c1756bd995bd
parent7355ba3445f2a741bfb9f03c7c8d5fc3e10bf63f
staging/fwserial: Fix build breakage when !CONFIG_BUG

Use WARN() as intended.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fwserial/dma_fifo.c