diff options
author | Weilong Chen <chenweilong@huawei.com> | 2013-12-19 02:22:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-23 00:53:08 +0100 |
commit | 2cc33c7e319c10b4e169050b3e21908531b09bf9 (patch) | |
tree | 33a2e8b6f38498e0f74fbc23e614f0a2ab8c6d8f /net/mac802154 | |
parent | cxgb4: make functions static and remove dead code (diff) | |
download | linux-2cc33c7e319c10b4e169050b3e21908531b09bf9.tar.xz linux-2cc33c7e319c10b4e169050b3e21908531b09bf9.zip |
mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_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>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/wpan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c index e24bcf977296..372d8a222b91 100644 --- a/net/mac802154/wpan.c +++ b/net/mac802154/wpan.c @@ -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; } |