Commit 1b94242a authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman
Browse files

staging/fwserial: Fix build breakage when !CONFIG_BUG



Use WARN() as intended.

Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b6c710e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -33,10 +33,7 @@

#define FAIL(fifo, condition, format...) ({				\
	fifo->corrupt = !!(condition);					\
	if (unlikely(fifo->corrupt)) {					\
		__WARN_printf(format);					\
	}								\
	unlikely(fifo->corrupt);					\
	WARN(fifo->corrupt, format);					\
})

/*