Skip to content

Commit

Permalink
niu: Use pr_<level>, netdev_<level> and netif_<level> macros
Browse files Browse the repository at this point in the history
Remove #define PFX
Add pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Convert printks to pr_<level>
Convert printks without levels to pr_cont
Convert pr_<level> with np->dev to netdev_<level>
Convert dev_<level> to netdev_<level>
Convert niudbg to netif_printk
Convert niuinfo, niuwarn macros to netif_<level>(priv, type, dev...
Coalesce long formats
Convert embedded function names to "%s", __func__
Always use "%s()..." when __func__ is printed

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed Feb 15, 2010
1 parent a146708 commit f10a1f2
Showing 1 changed file with 311 additions and 392 deletions.
Loading

0 comments on commit f10a1f2

Please sign in to comment.