Skip to content

Commit

Permalink
s2io: Generate complete messages using single line DBG_PRINTs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Sreenivasa Honnur <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
JoePerches authored and davem330 committed Aug 31, 2009
1 parent 82c2d02 commit 9e39f7c
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 161 deletions.
Loading

0 comments on commit 9e39f7c

Please sign in to comment.