Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755158AbdGVXbY convert rfc822-to-8bit (ORCPT ); Sat, 22 Jul 2017 19:31:24 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:32164 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755081AbdGVXbW (ORCPT ); Sat, 22 Jul 2017 19:31:22 -0400 From: Salil Mehta To: Andrew Lunn CC: "davem@davemloft.net" , "Zhuangyuzeng (Yisen)" , huangdaode , "lipeng (Y)" , "mehta.salil.lnk@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linuxarm Subject: RE: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework Thread-Topic: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework Thread-Index: AQHS5Jpnk4bbWRJFP0mlSPEY7mqpF6IqmnKAgDYhXDA= Date: Sat, 22 Jul 2017 23:31:10 +0000 Message-ID: References: <20170613231035.494020-1-salil.mehta@huawei.com> <20170613231035.494020-3-salil.mehta@huawei.com> <20170618145305.GA4025@lunn.ch> In-Reply-To: <20170618145305.GA4025@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.95.3] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.5973E048.00CE,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=169.254.1.170, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: fb6873df1cbc022e93bae4e00869b0e9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 35 > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Sunday, June 18, 2017 3:53 PM > To: Salil Mehta > Cc: davem@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil.lnk@gmail.com; netdev@vger.kernel.org; linux- > kernel@vger.kernel.org; Linuxarm > Subject: Re: [PATCH V2 net-next 2/8] net: hns3: Add support of the > HNAE3 framework > > On Wed, Jun 14, 2017 at 12:10:29AM +0100, Salil Mehta wrote: > > This patch adds the support of the HNAE3 (Hisilicon Network > > Acceleration Engine 3) framework support to the HNS3 driver. > > > > Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE > > and user-space Ethernet drivers (like ODP etc.) to register with > HNAE3 > > devices and their associated operations. > > checkpatch throws out one warning in this file > > CHECK: Comparison to NULL could be written "pos" > #3508: FILE: > drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h:572: > + for (pos = (head).ring; pos != NULL; pos = pos->next) > > This one seems valid. Not all checkpatch warnings are. Agreed and fixed in V4 patch. Thanks Salil > > Andrew