On Tue, Dec 24, 2019 at 08:52:10AM +0900, Nobuhiro Iwamatsu wrote: > From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > > commit 6011002c1584d29c317e0895b9667d57f254537a upstream. > > Fixes the following sparse warning: > > drivers/uio/uio.c:277:6: warning: > symbol 'uio_class_registered' was not declared. Should it be static? > > Fixes: ae61cf5b9913 ("uio: ensure class is registered before devices") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@xxxxxxxxxxxxx> > --- > drivers/uio/uio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Why is this a valid patch for the stable trees? Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for the rules. greg k-h