Skip to content

Commit

Permalink
mac802154: fix following checkpath.pl warning Prefer pr_warn(... to p…
Browse files Browse the repository at this point in the history
…r_warning(...

This patch fixes checkpath.pl:
 WARNING: Prefer pr_warn(... to pr_warning(...
 #447: FILE: ./wpan.c:447:

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Weilong Chen authored and David S. Miller committed Dec 22, 2013
1 parent de5b867 commit 2cc33c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/mac802154/wpan.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ mac802154_subif_frame(struct mac802154_sub_if_data *sdata, struct sk_buff *skb)
case IEEE802154_FC_TYPE_DATA:
return mac802154_process_data(sdata->dev, skb);
default:
pr_warning("ieee802154: bad frame received (type = %d)\n",
mac_cb_type(skb));
pr_warn("ieee802154: bad frame received (type = %d)\n",
mac_cb_type(skb));
kfree_skb(skb);
return NET_RX_DROP;
}
Expand Down

0 comments on commit 2cc33c7

Please sign in to comment.