Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1274029rwl; Thu, 10 Aug 2023 08:49:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFEWvtRBveULDzdWWVrRAR1sF4Li+nUGXR75/CGcoLZ7B2N3a/M2oHgGeQd7lbM93U+hjA X-Received: by 2002:a2e:874a:0:b0:2b5:9d2a:ab51 with SMTP id q10-20020a2e874a000000b002b59d2aab51mr2221719ljj.5.1691682585288; Thu, 10 Aug 2023 08:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691682585; cv=none; d=google.com; s=arc-20160816; b=eBTr8Jy2rmCxMhEjExo4641M4X4kVBVFyBmW87PhXpSt0yKY0bL2vAIQZUucE+KDFP 9m4fOBosXPnu1BUeb4L4KVToXSu//11czkF6pVIXMGMDTsL3hh963grKlm+rWUs2BhRt u9Ed8oeuNYKrkcnALsuU0qCtzyj2BMS3egt3gXUyOZwGCR/DwlQme9HYri2ctWxOgfiA PAc9MW4QWdgQney/Q32Djo9DWJ86oxnyVu0IAGSgoCn+op+lmmON3SMxpMUEFHos4i26 tl9E5KaRCrxoCZ0K8sLh+FhGAXElIPegxHK0ezTRvENcq7weg4g51JzrtvZT+A8mPEYZ AXXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=u5xcFRJZ9iTBgAb+ZGptIB8k23d8fMFMHg19sXQmehs=; fh=Avh5EQPOPUoxxRdtORYs15xu6STHzmtNcvbrSNY//F0=; b=mQLgiHL2JhXNzJewA1eIhnUqlMc2cK2++RWdruj61Jx3reJ0WZie10AYAeoPPK43QW 75mdxcqgFk4KA3Bufgpa4eWDqjGaUfSsMJrMTjX6CwICF/vWVwjZDZ+Mv6QdQvMkjoY4 4XHFOp5i/3l6t1NJgh4WTIqbxf488BIIJVZicSe3/FM7aM8Yk8yE8g4UUaqsO+RGF7gp WTBXhhG9j2CvD/PXoQYl768j8zLV0THiG2QlFkBzue57cmC8dgXjnksm6oHaCxTRIBte 0CWhbU5rjYCmEsutFHkyREuYDh7iPlazY02EKqub9gXGg4LSbRX7bSXEhk4xUcqq8N2o xiVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=bWtUmVyM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rn5-20020a170906d92500b009889b69c1edsi1644491ejb.697.2023.08.10.08.49.20; Thu, 10 Aug 2023 08:49:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=bWtUmVyM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233628AbjHJO1M (ORCPT + 99 others); Thu, 10 Aug 2023 10:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233706AbjHJO1L (ORCPT ); Thu, 10 Aug 2023 10:27:11 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B45ACE4B for ; Thu, 10 Aug 2023 07:27:10 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-523643207dbso1216417a12.3 for ; Thu, 10 Aug 2023 07:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1691677629; x=1692282429; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=u5xcFRJZ9iTBgAb+ZGptIB8k23d8fMFMHg19sXQmehs=; b=bWtUmVyMYDN253szWDkw3W5J4L2OkSDfNJPp3KptVh4yjZPB9bybVxJ3p4IMqaqbMu pQDqOEzedv6/ShhOkc8g8BLfgiEki/7735QQALVuajZdbLIkj/GarPi52YIDzt28E4WG ppP9X7+oupNlaYNoLqCr5uu9//9ZoHz/mTjysJz/nCSZl02iTrf7Oph+gN5E8QY5Xe1h Oq2JQzsbnaQhfD13VEd41uw1iPkT/Lv5naUFowHWhWhFePFWaPd42QbZ8/4kW1Xk4fkG J9KEpLEdZPAQTg01DnDdQV1WySF5sCivNsvl5+BlTWrdEdsidRR84c3Nglxs72BWd/5z DcNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691677629; x=1692282429; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u5xcFRJZ9iTBgAb+ZGptIB8k23d8fMFMHg19sXQmehs=; b=Ppsb0yERGVobGd9hLckeO15lyNwQxTMhktmx5vRIZiMejUYEBpVBxPS+5GkwBZnNjT vgqLVgJ3PTPIGnbruZgCciyTJAmnKrzlLT7T+4hwaZFTOST7kpHMnp19kqgtSBSbztoZ oDPsSbh0xiavmOjho5lGCkMYQDzthwVYlB6dF4Kx+/b1xSx1PqvwA0MGcEA0qYrBcBaN XqOpnsDa47+uPPUG2Dfccl9Mfz47mTF8Au0FEPh/Ew+4elUcBakdsdZ9qzahroAt96MO AztKyV9KIImgd4DdBLnF+UGhfWm4DD1mnoFEgOg9NkNwJbzDh1MjvpWEubnI5P4o+wW4 DhQg== X-Gm-Message-State: AOJu0YxUA4M+mCQ6SiDBbfQKO37lS4deqkeGN5Ri9fGGoTOF7yxBMYyD an2p2obfqIETZOfaI7BG3mhC5A85bFO2m4B5gneESQ== X-Received: by 2002:a05:6402:88e:b0:522:36f0:f1a3 with SMTP id e14-20020a056402088e00b0052236f0f1a3mr2289742edy.10.1691677629247; Thu, 10 Aug 2023 07:27:09 -0700 (PDT) MIME-Version: 1.0 References: <20230810141947.1236730-1-arnd@kernel.org> <20230810141947.1236730-6-arnd@kernel.org> In-Reply-To: <20230810141947.1236730-6-arnd@kernel.org> From: Jinpu Wang Date: Thu, 10 Aug 2023 16:26:58 +0200 Message-ID: Subject: Re: [PATCH 05/17] swim3: mark swim3_init() static To: Arnd Bergmann Cc: Andrew Morton , linux-kernel@vger.kernel.org, Jens Axboe , Arnd Bergmann , Christian Brauner , Hannes Reinecke , linux-block@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 10, 2023 at 4:21=E2=80=AFPM Arnd Bergmann wro= te: > > From: Arnd Bergmann > > This is the module init function, which by definition is used only > locally, so mark it static to avoid a warning: > > drivers/block/swim3.c:1280:5: error: no previous prototype for 'swim3_ini= t' [-Werror=3Dmissing-prototypes] > > Signed-off-by: Arnd Bergmann lgtm Reviewed-by: Jack Wang > --- > drivers/block/swim3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c > index dc43a63b34694..c2bc85826358e 100644 > --- a/drivers/block/swim3.c > +++ b/drivers/block/swim3.c > @@ -1277,7 +1277,7 @@ static struct macio_driver swim3_driver =3D > }; > > > -int swim3_init(void) > +static int swim3_init(void) > { > macio_register_driver(&swim3_driver); > return 0; > -- > 2.39.2 >