From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by dpdk.org (Postfix) with ESMTP id 769232BDF for ; Wed, 1 Mar 2017 16:40:24 +0100 (CET) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v21FeJs0010691 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 1 Mar 2017 07:40:19 -0800 (PST) Received: from ALA-MBC.corp.ad.wrs.com ([fe80::fcbe:9b7:1141:89a1]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0294.000; Wed, 1 Mar 2017 07:40:17 -0800 From: "Legacy, Allain" To: Stephen Hemminger , Thomas Monjalon CC: "dev@dpdk.org" , "RICHARDSON, BRUCE" , "YIGIT, FERRUH" Thread-Topic: [dpdk-dev] [PATCH v2 11/15] net/avp: packet receive functions Thread-Index: AQHSkRkJUdZo+3bKWkqLSeNTIYglCKF9EErAgAGuBYCAATy3oIAAlU2AgAAPfYD//3pXIA== Date: Wed, 1 Mar 2017 15:40:17 +0000 Message-ID: <70A7408C6E1BFB41B192A929744D85238A75968E@ALA-MBC.corp.ad.wrs.com> References: <1487985795-136044-1-git-send-email-allain.legacy@windriver.com> <20170228102701.GA141940@bricha3-MOBL3.ger.corp.intel.com> <70A7408C6E1BFB41B192A929744D85238A75943B@ALA-MBC.corp.ad.wrs.com> <1802328.ieTeZWi1ce@xps13> <20170301071023.54417ae9@xeon-e3> In-Reply-To: <20170301071023.54417ae9@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.140.166] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 11/15] net/avp: packet receive functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 15:40:24 -0000 > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] >=20 > In checkpatch source there is a regex to identify logging functions and s= pecial > exceptions for long lines etc. But the logging functions are for kernel (= printk > etc), not DPDK logging functions so the messages are incorrect. >=20 > Maybe there is some way to extend checkpatch to handle rte_log? Adding LONG_LINE_STRING helped, but we still get a smaller number of warnin= gs for concatenated strings like this one so it must be a quirk with how th= ey handle those.=20 WARNING:LONG_LINE: line over 80 characters #217: FILE: drivers/net/avp/avp_ethdev.c:326: + PMD_DRV_LOG(DEBUG, "Translating host physical 0x%" PRIx64 " to guest vi= rtual 0x%p\n",