Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp430485lqz; Sat, 30 Mar 2024 02:59:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWy3AjxMoKzVl2r1ggDNqmYVJSQobCZX/17rQ5yPIMd2eRmviXifXBY268BzKyKc/E6oOP4Cgt3TFcrkN/NfAEloAKjA6CDfEDtpq2wdQ== X-Google-Smtp-Source: AGHT+IF6Rm1Rfta0v/mnm+RVxBFmgy6mChoUOMIMc8TJ6RbJOJ6x5e/SSIX1WlageYyGg2UCHwDJ X-Received: by 2002:a05:6808:3006:b0:3c3:c94c:bbbc with SMTP id ay6-20020a056808300600b003c3c94cbbbcmr4472642oib.45.1711792766849; Sat, 30 Mar 2024 02:59:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711792766; cv=pass; d=google.com; s=arc-20160816; b=f6ZdgSkEkxRa/k8BIFK9MaXGkgkGSYObBIdaGxUO1/0g0EHt2vK+vwsdBG55uwZwMg 1TqnvQpS7cqoRi0/imoOw6nh3Nj0kVfdnAsX6UTxPlAr8TOfLjoGtOONrx44l0Qk+C6G UzfO8bIULEo1jSgcaryj5GJXPxGboFymyfBMZ//budgeUPaJbqxXnKDgi5uxCnNQ786m M4KU4FGz+FIDdDFI1XEh3XxLLeUtGXj0BNUKVHKUklokGwRX9tuLjOXMqngnuQZeY+nD mpJ59276SQRq8Nt3SHM7VGRC0lnBzuR6zZpqyvDdMjReCt8izarQR1Yy9eeB6w+qlElk FXUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=TbawEjcHnVqcKPaHHRYl4EjL5ZXIX0N+vBXsdccJ5Tk=; fh=GXoUT2HKXUQzXvT30jHaRNwHOEro+CbAiNXRieX5N7A=; b=f8ZbdMO9knFPOZOdEjAKqpVcqTD/5FLuR9SOp+MNCZuuB3CBVLf3j5i6Vefj2sr2WI hDJb0b3798BgajpazVL4wHibrlkKTSCTIDEYM/nZNskB52AkO4p+wJFS6/syppwjBPgS 8tiebYRrpnNomD6YEdzuVK2HpBwGgJIlLmqINZb/Yvd1w0jwUEAWOBu835nLanUejjka nQqg6nx8JzGTp1OspfbGI2ultcD36D2sx2Rhsub4jJ0gHsWMQgIn/Ksjbnt4hG47owiF yd+RaewI2u5zgz4l8DiwRT5avm4yF9uqPAJEKNHEUvi9Bb4rUWXq+7FrA6wss5ENQplO fP7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z4rtyxn3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m2-20020a633f02000000b005f059e58ea8si5426419pga.466.2024.03.30.02.59.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:59:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z4rtyxn3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125658-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B7041B22676 for ; Sat, 30 Mar 2024 09:59:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A42BE40C1F; Sat, 30 Mar 2024 09:58:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z4rtyxn3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5683020DCD; Sat, 30 Mar 2024 09:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; cv=none; b=S0ASKBQ6DPznGdOlq6yF6UWylOaksFo0G9k0ib2ScR/qL7mH+unN2UIeEfyHvxsy2byZCFZoqIyD4sT4JK7WuEbR2ReoP1A6Q0uyK3carlHuCZ1EBc+W7/54NI0c/ruJuHuXSHKc8BiZ0g5RE0VRxXhPqV+hWr9q8lTYhb02kVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; c=relaxed/simple; bh=znSQZ+RM/9bvAWoDcrE1grU/bOJFvpoINbFAcHKmzU0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QTNZBLcShEEPv4qa4Y9F1HW6W0CNR1vTT/hcgCMzC38LfVV3KQXi1lrHzkshGfsAPOiTsPY5qYrPgPjpGnRJ5/Ckf4R3MK6XJJmMzBmX8pdeM7RNvMFL0uGSbKbNTeHBIfzWWRUrYGnyCzPZSz4IK0iJFQvGyj2lIrcVvuyI0iU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z4rtyxn3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0811DC43390; Sat, 30 Mar 2024 09:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711792677; bh=znSQZ+RM/9bvAWoDcrE1grU/bOJFvpoINbFAcHKmzU0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Z4rtyxn3af+SZLBb07MVwPSdN4NPsJHwcKuBTvcxsBh0kkjCr1+RktJCsKdRnMZos lzGoiHnMrgd46S9aOPoWruUUJHEx1wrQLcnDSxfvxDUnmEFJEhdpM+gsMv9+SNynvj uBTZn5BMgvCAHfXPFsWxn8rIZJx9Dl0Xefl44mzEnQE2ZQaGBnCCvV/zYqnBTiJVz9 +8xlet4HhNv7Ybtysq3+P6WoWtpvkkNT7TTNkeXvyLY8OaWUUh/xBit0t2VmUF5Ol/ zfrTC0XT3KWPce0lZYo5+SFU0LI8OWJgH6V+CglwYEUI8Wc7JBDdHwEFSVBUK9lPLp Yz5FwDEa7lvmA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01AFCCD128E; Sat, 30 Mar 2024 09:57:57 +0000 (UTC) From: Sam Ravnborg via B4 Relay Date: Sat, 30 Mar 2024 10:57:40 +0100 Subject: [PATCH 04/10] sparc64: Fix prototype warning for alloc_irqstack_bootmem Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240330-sparc64-warnings-v1-4-37201023ee2f@ravnborg.org> References: <20240330-sparc64-warnings-v1-0-37201023ee2f@ravnborg.org> In-Reply-To: <20240330-sparc64-warnings-v1-0-37201023ee2f@ravnborg.org> To: Andreas Larsson , "David S. Miller" , sparclinux@vger.kernel.org Cc: Nick Bowler , linux-kernel@vger.kernel.org, Arnd Bergmann , Sam Ravnborg X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711792675; l=877; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=hR1E8vg8CGDYDik5XN2GQOk33c8EjJhA30OsWe34a5M=; b=5y52pp+9cWGwXXEVdYXKKaopN1VKfX8WuRlPMgDaXdoQ0CqhfOyr9569kP/JZSl9fR9ZcPdeOem5 5YiL5Ib2DKwFLPLfipiRNfAvXMwNmevHWCfz6YrVABfnmoBVIau8 X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Relay for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg Reply-To: sam@ravnborg.org From: Sam Ravnborg Fix the following warning: arch/sparc/kernel/setup_64.c:602:13: warning: no previous prototype for ‘alloc_irqstack_bootmem’ The function alloc_irqstack_bootmem had no users outside setup_64.c so declare it static. Signed-off-by: Sam Ravnborg Cc: Andreas Larsson Cc: "David S. Miller" --- arch/sparc/kernel/setup_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/kernel/setup_64.c b/arch/sparc/kernel/setup_64.c index 6a4797dec34b..1d519f18d2b2 100644 --- a/arch/sparc/kernel/setup_64.c +++ b/arch/sparc/kernel/setup_64.c @@ -599,7 +599,7 @@ static void __init init_sparc64_elf_hwcap(void) pause_patch(); } -void __init alloc_irqstack_bootmem(void) +static void __init alloc_irqstack_bootmem(void) { unsigned int i, node; -- 2.34.1