mac80211: add missing newlines in printk()

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Pavel Roskin
2008-05-12 09:02:24 -04:00
committed by John W. Linville
parent 6fc7431dc0
commit a4278e18e7
2 changed files with 5 additions and 4 deletions

View File

@@ -1395,7 +1395,7 @@ ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx)
padding = ((4 - subframe_len) & 0x3); padding = ((4 - subframe_len) & 0x3);
/* the last MSDU has no padding */ /* the last MSDU has no padding */
if (subframe_len > remaining) { if (subframe_len > remaining) {
printk(KERN_DEBUG "%s: wrong buffer size", dev->name); printk(KERN_DEBUG "%s: wrong buffer size\n", dev->name);
return RX_DROP_UNUSABLE; return RX_DROP_UNUSABLE;
} }
@@ -1418,7 +1418,7 @@ ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx)
eth = (struct ethhdr *) skb_pull(skb, ntohs(len) + eth = (struct ethhdr *) skb_pull(skb, ntohs(len) +
padding); padding);
if (!eth) { if (!eth) {
printk(KERN_DEBUG "%s: wrong buffer size ", printk(KERN_DEBUG "%s: wrong buffer size\n",
dev->name); dev->name);
dev_kfree_skb(frame); dev_kfree_skb(frame);
return RX_DROP_UNUSABLE; return RX_DROP_UNUSABLE;
@@ -1952,7 +1952,7 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
if (!skb_new) { if (!skb_new) {
if (net_ratelimit()) if (net_ratelimit())
printk(KERN_DEBUG "%s: failed to copy " printk(KERN_DEBUG "%s: failed to copy "
"multicast frame for %s", "multicast frame for %s\n",
wiphy_name(local->hw.wiphy), wiphy_name(local->hw.wiphy),
prev->dev->name); prev->dev->name);
continue; continue;

View File

@@ -394,7 +394,8 @@ static int wme_qdiscop_init(struct Qdisc *qd, struct nlattr *opt)
qd->handle); qd->handle);
if (!q->queues[i]) { if (!q->queues[i]) {
q->queues[i] = &noop_qdisc; q->queues[i] = &noop_qdisc;
printk(KERN_ERR "%s child qdisc %i creation failed", dev->name, i); printk(KERN_ERR "%s child qdisc %i creation failed\n",
dev->name, i);
} }
} }