Re: [arnd-playground:net-space-cleanup 7/14] drivers/net/ethernet/8390/ax88796.c:104:6: warning: no previous prototype for 'ax_NS8390_reinit'

From: Michael Schmitz
Date: Tue Aug 03 2021 - 20:23:05 EST


Hi Arnd,

On 3/08/21 10:31 pm, Arnd Bergmann wrote:
On Tue, Aug 3, 2021 at 11:35 AM kernel test robot <lkp@xxxxxxxxx> wrote:
All warnings (new ones prefixed by >>):

drivers/net/ethernet/8390/ax88796.c:104:6: warning: no previous prototype for 'ax_NS8390_reinit' [-Wmissing-prototypes]
104 | void ax_NS8390_reinit(struct net_device *dev)
| ^~~~~~~~~~~~~~~~


vim +/ax_NS8390_reinit +104 drivers/net/ethernet/8390/ax88796.c

103
> 104 void ax_NS8390_reinit(struct net_device *dev)
105 {
106 ax_NS8390_init(dev, 1);
107 }
108
I'll resend the series in a bit, fixed up this warning by moving the
declaration to include/net/ax88796.h.

Thanks for taking care of this - I had lost track of that patch altogether.

Cheers,

    Michael



Arnd