Skip to content

Commit

Permalink
s2io: fixing DBG_PRINT() macro
Browse files Browse the repository at this point in the history
Patch 9e39f7c 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 <[email protected]>
Acked-by: Sreenivasa Honnur <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Breno Leitao authored and davem330 committed Jul 26, 2010
1 parent a9ad99a commit 5447080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/s2io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5447080

Please sign in to comment.