Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1214714rwl; Thu, 10 Aug 2023 08:03:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8J204voc6BPyIvQg7qH00QOntXRIofTfYUX7Gm1czFUeNAdtfEG0A+rcDOT5qwzQzdv2w X-Received: by 2002:a05:6512:44d:b0:4f8:7325:bcd4 with SMTP id y13-20020a056512044d00b004f87325bcd4mr2102564lfk.0.1691679783876; Thu, 10 Aug 2023 08:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691679783; cv=none; d=google.com; s=arc-20160816; b=fbftAHPHrokCO49+8H/ssp6jstiWNdDKpao2IyxjnePM+Ef3ZgM5L3XvTFPEKfZDTr V+NABBOHPoQBJhTxmiSED1I7m3QmqhLv2Ca47p/StYwfGdDT2SQJiXnMbJXpZRgkUv/y 0U6jVrFM2aFnKRgC+GGFB26+gPLsIJB85dgbVnR87OdBZZEvmm7x65642IsTWfBrV6lN t2LX3PYD+a/JogXtJHu5aGIH11GBmmVDIEIVPuuV1two5wtISWFiT3AoGe+JfP+XPVUw AtPLKGcHhHXnnMR9h4d1sLrf1XrbD9dZwrDUDfcJgCnsXYjQh6S7mvXc/FfIIpM3O8h8 yrjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=InFiSiAs51/rqwXQF3rWuv99RGb7usOh4VD7MUGeRyM=; fh=UXUX32aHABsgV9lrv9WwSDaKaHAtF6o/NZB9kX6Mp0w=; b=e/9xZbnAfbv7YgjEbx5Hyw7Mi3clxestjkJT1QDp2Ro1bn7ly77T1j92zW7XBecyB8 Rnw3ULAAqAIT/LxgEKTXEBpZ4m1UxAsGqpFFyVZ0fOEP0BIlF+2DNILfYSDELK5txcGZ FPnSuXCLO3ABZRJvU8H87P9TYAfPVKGocUnu6T+GyQ5sy9iZCnwsY/TS3RzlJKllAqLy dxQu4OcxZ9jVOvHFXtCV+/kp81iEEQJA82NHIsL9O4OAl5mO2JGP/oRtXIW2fxdlLqBe iesZbdpaDVrk4piUi8CWPEjBl4Oh3PpL5e4oHmyyxXEuctBOPpeF6uN3K9ZfzozpoXeG fjbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ucGTS2xq; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020aa7c91a000000b00523703a8793si1559548edt.181.2023.08.10.08.02.37; Thu, 10 Aug 2023 08:03:03 -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=@kernel.org header.s=k20201202 header.b=ucGTS2xq; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235609AbjHJOVu (ORCPT + 99 others); Thu, 10 Aug 2023 10:21:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235072AbjHJOVt (ORCPT ); Thu, 10 Aug 2023 10:21:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A51B1B4; Thu, 10 Aug 2023 07:21:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A951165D8B; Thu, 10 Aug 2023 14:21:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38266C433C7; Thu, 10 Aug 2023 14:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677308; bh=I6IRExNYqo8UBCebkpvu5GaQ8IK18y0eKaizpHUnkOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ucGTS2xqPZOWGCOiL4qxDpX0/atupBXJSJsS5X0BeogQKCNK8mvO/s4zrFaS4mdV0 4tRS00rUtYhZhqPBbVEq1nsrbkQ1lt/oByUyVv8gIa93XrULsHAJ3F29gm/xewTMwR BgZW94H8UYDjdvEN0+i9td4FcSHiSTouaX1nEmc/+6yQVdHlByuG/ymqJLmZFCX7Nn +2Bbbn3jlVg+XriGkRnzx2yjy0H0humi2wKvisIDQndBVATh9ziQdP56sdpDmsiQLB Gwnn9FXohCKRlMe5ku8CdWsDG2Wg8n5zTbQZHGafcNW1LhhT13CEgUolsiV3XJJ+M0 KjgcMyLswfCGw== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, Jens Axboe Cc: Arnd Bergmann , Christian Brauner , Hannes Reinecke , Jack Wang , linux-block@vger.kernel.org Subject: [PATCH 05/17] swim3: mark swim3_init() static Date: Thu, 10 Aug 2023 16:19:23 +0200 Message-Id: <20230810141947.1236730-6-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810141947.1236730-1-arnd@kernel.org> References: <20230810141947.1236730-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- 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 = }; -int swim3_init(void) +static int swim3_init(void) { macio_register_driver(&swim3_driver); return 0; -- 2.39.2