Re: [PATCH] stable-fixup: hotplug: fix unused function warning

From: Greg Kroah-Hartman
Date: Mon Jan 09 2017 - 06:50:10 EST


On Mon, Jan 09, 2017 at 12:29:18PM +0100, Michal Hocko wrote:
> On Mon 09-01-17 11:47:50, Arnd Bergmann wrote:
> > The backport of upstream commit 777c6e0daebb ("hotplug: Make
> > register and unregister notifier API symmetric") to linux-4.4.y
> > introduced a harmless warning in 'allnoconfig' builds as spotted by
> > kernelci.org:
> >
> > kernel/cpu.c:226:13: warning: 'cpu_notify_nofail' defined but not used [-Wunused-function]
>
> Is this warning really worth bothering? Does any stable rely on warning
> free builds?

Yes, I watch it, it's a good indicator that I got a backport wrong.

thanks,

greg k-h