From: chenweilong <chenweilong@huawei•com>
To: <davem@davemloft•net>, <alex.bluesman.smirnov@gmail•com>,
<dbaryshkov@gmail•com>
Cc: <netdev@vger•kernel.org>
Subject: [PATCH resend net-next] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(...
Date: Thu, 19 Dec 2013 09:22:26 +0800 [thread overview]
Message-ID: <52B24A52.9010105@huawei.com> (raw)
In-Reply-To: <1387359364-5892-1-git-send-email-chenweilong@huawei.com>
From: Weilong Chen <chenweilong@huawei•com>
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>
---
net/mac802154/wpan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index e24bcf9..372d8a2 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;
}
-- 1.7.12
next prev parent reply other threads:[~2013-12-19 1:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 9:36 [PATCH] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning( Chen Weilong
2013-12-19 1:22 ` chenweilong [this message]
2013-12-22 23:53 ` [PATCH resend net-next] " David Miller
2013-12-22 23:05 ` [PATCH] " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B24A52.9010105@huawei.com \
--to=chenweilong@huawei$(echo .)com \
--cc=alex.bluesman.smirnov@gmail$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dbaryshkov@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox