netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(...
@ 2013-12-18  9:36 Chen Weilong
  2013-12-19  1:22 ` [PATCH resend net-next] " chenweilong
  2013-12-22 23:05 ` [PATCH] " David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Chen Weilong @ 2013-12-18  9:36 UTC (permalink / raw)
  To: davem, alex.bluesman.smirnov, dbaryshkov; +Cc: netdev

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index e24bcf9..9e5cc67 100644
--- a/net/mac802154/wpan.c
+++ b/net/mac802154/wpan.c
@@ -444,7 +444,7 @@ 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",
+		pr_warn("ieee802154: bad frame received (type = %d)\n",
 			   mac_cb_type(skb));
 		kfree_skb(skb);
 		return NET_RX_DROP;
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH resend net-next] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(...
  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
  2013-12-22 23:53   ` David Miller
  2013-12-22 23:05 ` [PATCH] " David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: chenweilong @ 2013-12-19  1:22 UTC (permalink / raw)
  To: davem, alex.bluesman.smirnov, dbaryshkov; +Cc: netdev

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(...
  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 ` [PATCH resend net-next] " chenweilong
@ 2013-12-22 23:05 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-12-22 23:05 UTC (permalink / raw)
  To: chenweilong; +Cc: alex.bluesman.smirnov, dbaryshkov, netdev

From: Chen Weilong <chenweilong@huawei.com>
Date: Wed, 18 Dec 2013 17:36:04 +0800

> -		pr_warning("ieee802154: bad frame received (type = %d)\n",
> +		pr_warn("ieee802154: bad frame received (type = %d)\n",
>  			   mac_cb_type(skb));

You have to fix up the indentation of the second line if you adjust the
first line like this.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH resend net-next] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(...
  2013-12-19  1:22 ` [PATCH resend net-next] " chenweilong
@ 2013-12-22 23:53   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-12-22 23:53 UTC (permalink / raw)
  To: chenweilong; +Cc: alex.bluesman.smirnov, dbaryshkov, netdev

From: chenweilong <chenweilong@huawei.com>
Date: Thu, 19 Dec 2013 09:22:26 +0800

> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-22 23:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH resend net-next] " chenweilong
2013-12-22 23:53   ` David Miller
2013-12-22 23:05 ` [PATCH] " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).