Hi Andrew, > -----Original Message----- > From: Andrew Lunn [mailto:[email protected]] > Sent: Sunday, June 18, 2017 4:02 PM > To: Salil Mehta > Cc: [email protected]; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > [email protected]; [email protected]; linux- > [email protected]; 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

