]> git.baikalelectronics.ru Git - kernel.git/commit
s2io: fixing DBG_PRINT() macro
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Mon, 26 Jul 2010 22:37:30 +0000 (15:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2010 22:37:30 +0000 (15:37 -0700)
commitf879641d01ad6f1fd282b392442a6faf51ece37e
tree08fd9ef4a2f96948cfbaff6d6fcfb90da663d32c
parentb1fc13d76e5c8cb372b48aec788f57c2c1a5dfea
s2io: fixing DBG_PRINT() macro

Patch 6c3e8d1636aed6e1dbb6e6f45c0673d8a37550af 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>
drivers/net/s2io.h