Commit ef423a41 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

atm: Convert pr_warning to pr_warn

Use the more common pr_warn.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6618ec6f
...@@ -384,7 +384,7 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb, ...@@ -384,7 +384,7 @@ static netdev_tx_t clip_start_xmit(struct sk_buff *skb,
pr_debug("atm_skb(%p)->vcc(%p)->dev(%p)\n", skb, vcc, vcc->dev); pr_debug("atm_skb(%p)->vcc(%p)->dev(%p)\n", skb, vcc, vcc->dev);
old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */
if (old) { if (old) {
pr_warning("XOFF->XOFF transition\n"); pr_warn("XOFF->XOFF transition\n");
goto out_release_neigh; goto out_release_neigh;
} }
dev->stats.tx_packets++; dev->stats.tx_packets++;
...@@ -447,7 +447,7 @@ static int clip_setentry(struct atm_vcc *vcc, __be32 ip) ...@@ -447,7 +447,7 @@ static int clip_setentry(struct atm_vcc *vcc, __be32 ip)
struct rtable *rt; struct rtable *rt;
if (vcc->push != clip_push) { if (vcc->push != clip_push) {
pr_warning("non-CLIP VCC\n"); pr_warn("non-CLIP VCC\n");
return -EBADF; return -EBADF;
} }
clip_vcc = CLIP_VCC(vcc); clip_vcc = CLIP_VCC(vcc);
......
...@@ -300,7 +300,7 @@ static int adjust_tp(struct atm_trafprm *tp, unsigned char aal) ...@@ -300,7 +300,7 @@ static int adjust_tp(struct atm_trafprm *tp, unsigned char aal)
max_sdu = ATM_MAX_AAL34_PDU; max_sdu = ATM_MAX_AAL34_PDU;
break; break;
default: default:
pr_warning("AAL problems ... (%d)\n", aal); pr_warn("AAL problems ... (%d)\n", aal);
/* fall through */ /* fall through */
case ATM_AAL5: case ATM_AAL5:
max_sdu = ATM_MAX_AAL5_PDU; max_sdu = ATM_MAX_AAL5_PDU;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment