Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755204AbdGVXdE convert rfc822-to-8bit (ORCPT ); Sat, 22 Jul 2017 19:33:04 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:32165 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbdGVXdD (ORCPT ); Sat, 22 Jul 2017 19:33:03 -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 V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework Thread-Topic: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework Thread-Index: AQHS54643vA/EcUwgEOUAH2nIeoyE6IqlwuAgDYfFVA= Date: Sat, 22 Jul 2017 23:32:21 +0000 Message-ID: References: <20170617172431.177044-1-salil.mehta@huawei.com> <20170617172431.177044-3-salil.mehta@huawei.com> <20170618150203.GB4025@lunn.ch> In-Reply-To: <20170618150203.GB4025@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.0A090206.5973E0AB.0049,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: f639d850807265d3708fdfb1655ffac4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 31 Hi Andrew, > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Sunday, June 18, 2017 4:02 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 V3 net-next 2/8] net: hns3: Add support of the > HNAE3 framework > > > +static int __init hnae3_init(void) > > +{ > > + return 0; > > +} > > + > > +static void __exit hnae3_exit(void) > > +{ > > +} > > + > > +module_init(hnae3_init); > > +module_exit(hnae3_exit); > > I think init and exit functions are optional. Since your's don't do > anything useful, please try without them. Yes, you were right. Removed in V4 patch. Thanks Salil > > Andrew