aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-28 00:57:49 -0400
committerDavid S. Miller <davem@davemloft.net>2013-07-01 16:31:25 -0400
commit383eda32b891002d5064cc97243c94b7cf78137a (patch)
treec42010d5dd133f3b393cc9f3146f14ae54d81efd /drivers/net/xen-netback/netback.c
parent772e42b07fbdc650206746e00cb2914e362594a3 (diff)
xen: Use more current logging styles
Instead of mixing printk and pr_<level> forms, just use pr_<level> Miscellaneous changes around these conversions: Add a missing newline to avoid message interleaving, coalesce formats, reflow modified lines to 80 columns. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
-rw-r--r--drivers/net/xen-netback/netback.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
index 130bcb217d2c..64828de25d9a 100644
--- a/drivers/net/xen-netback/netback.c
+++ b/drivers/net/xen-netback/netback.c
@@ -1890,9 +1890,8 @@ static int __init netback_init(void)
1890 return -ENODEV; 1890 return -ENODEV;
1891 1891
1892 if (fatal_skb_slots < XEN_NETBK_LEGACY_SLOTS_MAX) { 1892 if (fatal_skb_slots < XEN_NETBK_LEGACY_SLOTS_MAX) {
1893 printk(KERN_INFO 1893 pr_info("fatal_skb_slots too small (%d), bump it to XEN_NETBK_LEGACY_SLOTS_MAX (%d)\n",
1894 "xen-netback: fatal_skb_slots too small (%d), bump it to XEN_NETBK_LEGACY_SLOTS_MAX (%d)\n", 1894 fatal_skb_slots, XEN_NETBK_LEGACY_SLOTS_MAX);
1895 fatal_skb_slots, XEN_NETBK_LEGACY_SLOTS_MAX);
1896 fatal_skb_slots = XEN_NETBK_LEGACY_SLOTS_MAX; 1895 fatal_skb_slots = XEN_NETBK_LEGACY_SLOTS_MAX;
1897 } 1896 }
1898 1897
@@ -1921,7 +1920,7 @@ static int __init netback_init(void)
1921 "netback/%u", group); 1920 "netback/%u", group);
1922 1921
1923 if (IS_ERR(netbk->task)) { 1922 if (IS_ERR(netbk->task)) {
1924 printk(KERN_ALERT "kthread_create() fails at netback\n"); 1923 pr_alert("kthread_create() fails at netback\n");
1925 del_timer(&netbk->net_timer); 1924 del_timer(&netbk->net_timer);
1926 rc = PTR_ERR(netbk->task); 1925 rc = PTR_ERR(netbk->task);
1927 goto failed_init; 1926 goto failed_init;