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: Arnd Bergmann
Date: Tue Aug 03 2021 - 06:31:46 EST


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.

Arnd