From patchwork Thu Dec 19 01:22:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chenweilong X-Patchwork-Id: 303128 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 79B102C00AF for ; Thu, 19 Dec 2013 12:23:47 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430Ab3LSBXo (ORCPT ); Wed, 18 Dec 2013 20:23:44 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:12183 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872Ab3LSBXn (ORCPT ); Wed, 18 Dec 2013 20:23:43 -0500 Received: from 172.24.2.119 (EHLO szxeml211-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BNI98642; Thu, 19 Dec 2013 09:23:37 +0800 (CST) Received: from SZXEML405-HUB.china.huawei.com (10.82.67.60) by szxeml211-edg.china.huawei.com (172.24.2.182) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 19 Dec 2013 09:22:32 +0800 Received: from [127.0.0.1] (10.135.74.202) by szxeml405-hub.china.huawei.com (10.82.67.60) with Microsoft SMTP Server id 14.3.158.1; Thu, 19 Dec 2013 09:22:30 +0800 Message-ID: <52B24A52.9010105@huawei.com> Date: Thu, 19 Dec 2013 09:22:26 +0800 From: chenweilong User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: , , CC: Subject: [PATCH resend net-next] mac802154: fix following checkpath.pl warning Prefer pr_warn(... to pr_warning(... References: <1387359364-5892-1-git-send-email-chenweilong@huawei.com> In-Reply-To: <1387359364-5892-1-git-send-email-chenweilong@huawei.com> X-Originating-IP: [10.135.74.202] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Weilong Chen This patch fixes checkpath.pl: WARNING: Prefer pr_warn(... to pr_warning(... #447: FILE: ./wpan.c:447: Signed-off-by: Weilong Chen --- net/mac802154/wpan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.12 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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; }