diff options
author | Joe Perches <joe@perches.com> | 2014-09-10 00:17:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-10 15:40:10 -0400 |
commit | ef423a410943dab9198ec1d7d9558cb53a9569cc (patch) | |
tree | fbb8ecefe8839ea5597606f253c51f27a2fff7cd /net/atm | |
parent | 6618ec6f742955dcddb71091ec461fbd5fec9fd3 (diff) |
atm: Convert pr_warning to pr_warn
Use the more common pr_warn.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/clip.c | 4 | ||||
-rw-r--r-- | net/atm/common.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index 46339040fef0..1d9eaa4f041a 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c | |||
@@ -384,7 +384,7 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb, | |||
384 | pr_debug("atm_skb(%p)->vcc(%p)->dev(%p)\n", skb, vcc, vcc->dev); | 384 | pr_debug("atm_skb(%p)->vcc(%p)->dev(%p)\n", skb, vcc, vcc->dev); |
385 | old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ | 385 | old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ |
386 | if (old) { | 386 | if (old) { |
387 | pr_warning("XOFF->XOFF transition\n"); | 387 | pr_warn("XOFF->XOFF transition\n"); |
388 | goto out_release_neigh; | 388 | goto out_release_neigh; |
389 | } | 389 | } |
390 | dev->stats.tx_packets++; | 390 | dev->stats.tx_packets++; |
@@ -447,7 +447,7 @@ static int clip_setentry(struct atm_vcc *vcc, __be32 ip) | |||
447 | struct rtable *rt; | 447 | struct rtable *rt; |
448 | 448 | ||
449 | if (vcc->push != clip_push) { | 449 | if (vcc->push != clip_push) { |
450 | pr_warning("non-CLIP VCC\n"); | 450 | pr_warn("non-CLIP VCC\n"); |
451 | return -EBADF; | 451 | return -EBADF; |
452 | } | 452 | } |
453 | clip_vcc = CLIP_VCC(vcc); | 453 | clip_vcc = CLIP_VCC(vcc); |
diff --git a/net/atm/common.c b/net/atm/common.c index 7b491006eaf4..6a765156a3f6 100644 --- a/net/atm/common.c +++ b/net/atm/common.c | |||
@@ -300,7 +300,7 @@ static int adjust_tp(struct atm_trafprm *tp, unsigned char aal) | |||
300 | max_sdu = ATM_MAX_AAL34_PDU; | 300 | max_sdu = ATM_MAX_AAL34_PDU; |
301 | break; | 301 | break; |
302 | default: | 302 | default: |
303 | pr_warning("AAL problems ... (%d)\n", aal); | 303 | pr_warn("AAL problems ... (%d)\n", aal); |
304 | /* fall through */ | 304 | /* fall through */ |
305 | case ATM_AAL5: | 305 | case ATM_AAL5: |
306 | max_sdu = ATM_MAX_AAL5_PDU; | 306 | max_sdu = ATM_MAX_AAL5_PDU; |