From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27157C2D0C0 for ; Tue, 24 Dec 2019 00:09:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6C4A2073A for ; Tue, 24 Dec 2019 00:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577146151; bh=pFGhpW30ft4J5ozUybupiikEf5ZVs/5anCskI7M1mAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=EkM9Xzm/7WNsawsqY2z88uWu6tMaUUHqt+lXZDlEVUTdamY0q3KzPT53+JwVFiD/W 5Z/BlVuAwDtFjq095Bz3LrVd6g7DQFdSqE4J8iq9PdQzgmyAFJtb5ULfnRWNykD4le wuCt8O7ODLzBhSx8yY3w5LHRu5SuAO2242uFryHw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbfLXAJK (ORCPT ); Mon, 23 Dec 2019 19:09:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:49360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726865AbfLXAJK (ORCPT ); Mon, 23 Dec 2019 19:09:10 -0500 Received: from localhost (unknown [64.47.196.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5DC53206D3; Tue, 24 Dec 2019 00:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577146149; bh=pFGhpW30ft4J5ozUybupiikEf5ZVs/5anCskI7M1mAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OpE1TuRI+zDjZbPUcGEJHGw8BLPbyWo4BsTZxdRQJbEzt3JJP8kM9pXqRVOhAvuVj Iu7Puk3VQz+7m482Zd1Dm48xwbjVLjL33eFuYea4zd6tZykDva2Mh7xBGyGbmvLIfB 4OR9ixMYIEBYa3OVrvexDyuIkQ325u+qzsAlhMSk= Date: Mon, 23 Dec 2019 19:09:06 -0500 From: Greg KH To: Nobuhiro Iwamatsu Cc: stable@vger.kernel.org Subject: Re: [PATCH for 4.4, 4.9, 4.14, 4.19] uio: make symbol 'uio_class_registered' static Message-ID: <20191224000906.GB282927@kroah.com> References: <20191223235210.2312-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191223235210.2312-1-nobuhiro1.iwamatsu@toshiba.co.jp> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Dec 24, 2019 at 08:52:10AM +0900, Nobuhiro Iwamatsu wrote: > From: Wei Yongjun > > 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 > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Nobuhiro Iwamatsu > --- > 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