s2io: Generate complete messages using single line DBG_PRINTs
authorJoe Perches <joe@perches.com>
Tue, 25 Aug 2009 08:52:00 +0000 (08:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 05:35:11 +0000 (22:35 -0700)
commit9e39f7c5b311a306977c5471f9e2ce4c456aa038
tree3d76af2016c6991ec0d3785eb0890959d73b7ae2
parent82c2d02356229c66daa6b6e51f8da559327b87b0
s2io: Generate complete messages using single line DBG_PRINTs

Single line log messages should be emitted by a single call
where possible.

Converted multiple calls to DBG_PRINT to single call form.
Removed "s2io:" preface from DBG_PRINTs.

The DBG_PRINT macro now emits a log level and is surrounded by
a do {...} while (0)

All s2io log output is now prefaced with KBUILD_MODNAME ": "
via pr_fmt.

The DBG_PRINT macro should probably be converted to use the
dev_<level> form eventually.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c
drivers/net/s2io.h