mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
s2io: fixing DBG_PRINT() macro
Patch 9e39f7c5b3
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: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a9ad99a612
commit
5447080cfa
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue