提交 5447080c 编写于 作者: B Breno Leitao 提交者: David S. Miller

s2io: fixing DBG_PRINT() macro

Patch 9e39f7c5 changed the
DBG_PRINT() macro and the if clause was wrongly changed. It means
that currently all the DBG_PRINT are being printed, flooding the
kernel log buffer with things like:

s2io: eth6: Next block at: c0000000b9c90000
s2io: eth6: In Neterion Tx routine
Signed-off-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: NSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a9ad99a6
......@@ -65,7 +65,7 @@ static int debug_level = ERR_DBG;
/* DEBUG message print. */
#define DBG_PRINT(dbg_level, fmt, args...) do { \
if (dbg_level >= debug_level) \
if (dbg_level <= debug_level) \
pr_info(fmt, ##args); \
} while (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册