Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1206123rwl; Thu, 10 Aug 2023 07:56:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGu0qXBEf+sDwfNVRx+RMJSPEV84ZAIKGcsWx9AoSdyVGstVQLc/5cEREZN/0oIYDRIY/7Z X-Received: by 2002:a05:6402:714:b0:51e:166a:ac7f with SMTP id w20-20020a056402071400b0051e166aac7fmr2545658edx.28.1691679411258; Thu, 10 Aug 2023 07:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691679411; cv=none; d=google.com; s=arc-20160816; b=DOdiF/4LwtNHWSqcCjpkeRPSWA414jVLTw3tb+fmb91hp0x/Vo40ggBi0uqaFzWMtU hbpRdVCAE3SidFr4LMsgE6mrYnlmWaepH+xu1qD+qDrOVGcVjIgyRkTn+nms7J35Cf9Z t4ZYHtqxRzbrEp/kHZtji25l0Qq894Bakys9ams5zttfBlOpa0NaM54eBO/oGxs2hrgz xHpjSrT0ma10VA9uneYz9SU7koQasxrSJp3FesSjvx0Bhx0oVMTWuYLRC6DIg+tvGAg2 O7KD6ky7AdrSZ9sMEYhMCEttnI4cg4FddoiXq/s8ZXYbRyGa95E/hBCGOmCsvshURoFp ajsw== 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=TYAoXrQ9N+LIe3F78b3xqj02RLzouKOfy+UL6grO5MI=; fh=VVJcO7v/qpi8+UdBEzkWo/wRVadB6a2K+4ebhbgdXmg=; b=MHJkGB0JCI/ikUTgMmkvqSZObU4vgpJNBHSwyohGuzP9BnWn4CSvo6Lt/C7kHzUqZc Nh7BYrRoiY6gaVZ7tc7/Fr+rfw0YiQ6B+Dw9TEnay4Xxl2Jgcr+gHAy6PINZDdDemNil q7+/UQuJgh1y2F3GLPG/lv8K+d3Gs7XwRdP5LW5SacaPJFc2zlkADJQ12lYmKrCz+EOE Zrqiodz1bjrz2NBKIc4PTtoIkzswnIfiGjA1lPIXWEcOGYoFQSBJqPLWCVLOXVn+ncZ1 TPye35/+e5tjHfZA38u5tmk+XZumejuKYsYBwzHCT/jSVRiO/6YP1eD9P0frHd1ZP7Z7 AWgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TfRgllDu; 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 c21-20020aa7d615000000b005234af90324si1685039edr.291.2023.08.10.07.56.26; Thu, 10 Aug 2023 07:56:51 -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=TfRgllDu; 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 S230434AbjHJOVa (ORCPT + 99 others); Thu, 10 Aug 2023 10:21:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbjHJOV3 (ORCPT ); Thu, 10 Aug 2023 10:21:29 -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 846CB26BA for ; Thu, 10 Aug 2023 07:21:29 -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 1AEDE65D8C for ; Thu, 10 Aug 2023 14:21:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D4ADC433C8; Thu, 10 Aug 2023 14:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677288; bh=tTqvGfdqpSqLF9l0SW+6nk+RpKMVxa+ONkZwfa69O+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TfRgllDuDt4/G7hW7Rt7G8F0kIsNIKHptUqki5KgQAyrb/TdOBdoRpWfkGQz9gxBZ M2dIFm02TYsFvPuXBh7YVae2IssCtAMCLTifuDsgpN8UJ3uy/SByvMeVthjYPJMtmx HvBaRyC1utACwGZFIEDFmh/KNugNfI+C+Aa3npPuh4ZUsMr69Ermh+zWoizy+nTVR4 PXsfmwtLRy+Iv50hRS0M2CYugo9wThGn75cOzX4iE64Zasev+yHPCOg99fNAOYNe/2 Qt94rXS3aWIw0tndDDXDQdGr8Wnm2PU6ocX5kUQrn7fQzPb/nQ1Xf8LxidEO09YR4b tPfaQ5Yzitb+w== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, Matthew Wilcox Cc: Arnd Bergmann Subject: [PATCH 03/17] [RESEND] ida: make 'ida_dump' static Date: Thu, 10 Aug 2023 16:19:21 +0200 Message-Id: <20230810141947.1236730-4-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 There is no global declaration for ida_dump() and no other callers, so make it static to avoid this warning: lib/test_ida.c:16:6: error: no previous prototype for 'ida_dump' Fixes: 8ab8ba38d488 ("ida: Start new test_ida module") Signed-off-by: Arnd Bergmann --- lib/test_ida.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_ida.c b/lib/test_ida.c index b068806259615..f946c80ced8b6 100644 --- a/lib/test_ida.c +++ b/lib/test_ida.c @@ -13,7 +13,7 @@ static unsigned int tests_run; static unsigned int tests_passed; #ifdef __KERNEL__ -void ida_dump(struct ida *ida) { } +static void ida_dump(struct ida *ida) { } #endif #define IDA_BUG_ON(ida, x) do { \ tests_run++; \ -- 2.39.2