Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp250683rdh; Thu, 23 Nov 2023 03:05:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKn8COAKEiA7y5MkMdmHwFj6R4KeKS7MAsu563UL5UsDjnp5uHSYTjvmS9GodfYn4LxXjl X-Received: by 2002:a17:903:44d:b0:1cf:7a4b:9dc6 with SMTP id iw13-20020a170903044d00b001cf7a4b9dc6mr3272870plb.61.1700737549975; Thu, 23 Nov 2023 03:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700737549; cv=none; d=google.com; s=arc-20160816; b=e0dmi9dlHl8ZD8AWdllAMpbBCs1orMbVOHeo/97ohTzGEHZb2T2DrRw3a4Cvs7Ay5T PY+5lU/bHhIsXLBdex2EJmWbxbr/zObbduMFSXn8HQWua9c35OTx5JuiEkgdEipIe2wi jlpulxaBbdRyCqDqa9BYdxDEe0mirXC5+zAORNofJOGtynrfAexBxdGx7Pyn+AAfdLNc PtQ4F85hdWJ18FX6s5KJTSrfHXx+eWenf/LHJHOIp1/1FUzW954ruu9TidZwPm/+IO7G O1WKTTVXo/HbV09z1688+cPUhuC4GkvHAWvqCDKw1w3PUOvU6UM9Y9gzi39NWmUE2ykp 2hOQ== 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=TO0fIxXJcdjJMFsCL0Lc8Hz4Q5RFjRY63fLhHT3O94s=; fh=TVF/ZsHt3bxRzFOIn6fcgDTEV6FaGOs0DFr4KT/S8uU=; b=I3iiIVLUNffDdIta1Jm5Q4t1pD6r/0xb+drKhMG5fGAG/T1f3zxaKBtrYPUKLscFQa yxXzQr/7R8NkkpGpyOACo17+DE4xnl0lh28RfW6BuM4niwDkXZhXpUQo6dE/pSbdgOLN mnEHOvJ2uy/mQ/vV8DiRioZXmVYO0LERWNTtgilojnBEOl/4rDq6U2KtT+p20yVd9Fas AMqC8wNOR2XaPot20qH1tRsqvBiSdL+pPz5UNSuNs5Vg58AVY9AiqjLwsTaxnfBA8LAA Xv+t60eQuw+i3MUKHtVJ2ng3XHNc+JBKjPjHAv1jNsAdUl9EIYM5o6Bri0K9l1w63mOq U8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nXSKUa80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n18-20020a170903111200b001ce675c396fsi981406plh.138.2023.11.23.03.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nXSKUa80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B45BE8082702; Thu, 23 Nov 2023 03:05:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344912AbjKWLFZ (ORCPT + 99 others); Thu, 23 Nov 2023 06:05:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232166AbjKWLFV (ORCPT ); Thu, 23 Nov 2023 06:05:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC761BE for ; Thu, 23 Nov 2023 03:05:28 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32336C433C8; Thu, 23 Nov 2023 11:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700737528; bh=PTPvyroKGj+bJmSOqebpW9CjBUzzYiO7xPn/MeixGLs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nXSKUa807rZ29ZDLQfJmvRhSi4N8WHovmHbAfyMVEficfSwAV9byFeM2EehuHMPvf 2plHjQPIGprL9a+CvVI91LktsH4dCLOTw85PLAzRHbTDWS8PBJ+HD6a6zbcFYzYA7S /LF4mUwnNE/22hs/ycyxoIHFHiNWy/JLf4Gu9DuVWVIbobN3N9tuy8iVJrVYE3ouLt kJi1liD6r+5hhz0cNDST79u04zevwc68Rku5RvjzatdqYLmQop3cbiP1tDQ8ikihWg Ed5QrWidUanGzm2kwC1ytck42YRJYbIN/BD477srlxzuaH3tVo4HVndRuycbh+BrmA FTpBsaIVkDHAA== From: Arnd Bergmann To: Andrew Morton Cc: Arnd Bergmann , "David S. Miller" , David Woodhouse , Dinh Nguyen , Greg Kroah-Hartman , Ivan Kokshaysky , John Paul Adrian Glaubitz , Michael Ellerman , Masahiro Yamada , Matt Turner , Nathan Chancellor , Nicolas Schier , Peter Zijlstra , Rich Felker , Richard Henderson , Richard Weinberger , Stephen Rothwell , Thomas Bogendoerfer , Tudor Ambarus , Yoshinori Sato , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v3 1/6] ida: make 'ida_dump' static Date: Thu, 23 Nov 2023 12:05:01 +0100 Message-Id: <20231123110506.707903-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231123110506.707903-1-arnd@kernel.org> References: <20231123110506.707903-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:05:45 -0800 (PST) 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 b06880625961..f946c80ced8b 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