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

Arnd Bergmann
2021-08-03T10:31:46Z

On Tue, Aug 3, 2021 at 11:35 AM kernel test robot <lkp@intel.com> 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