Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp430460lqz; Sat, 30 Mar 2024 02:59:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTC3dtqdpBZW9EGYFWvlYB8jDQDYRDeTaxbDjR6cK3OTY7WFryNNeu6n39vayIHMfacFDre/WwceVfN1KjBGd5hol3l/Db/9pp5h+KjA== X-Google-Smtp-Source: AGHT+IGWzH7U+7vi9h9Tw+d6MnHfAvcdMV6k+SChOU4+8zxkubFHV7oFt5c1aZCkJbIRflDlwopR X-Received: by 2002:a05:6359:4ca8:b0:17f:565c:8db2 with SMTP id kk40-20020a0563594ca800b0017f565c8db2mr5949562rwc.12.1711792763970; Sat, 30 Mar 2024 02:59:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711792763; cv=pass; d=google.com; s=arc-20160816; b=GJzoOtgHgoPFQ5INC/SVM/iWevJOXeEUAinV/9tq1QxiCpRV8JSHNxogmyUkDjsJNH 2qvQzzZfcEfI13PBMTUwYOy6EuMBSlM+HHawiT2qH5KBKD/G2PUm66T5TxnQmJFKudMW uIW46zWmhqZn9bXpYDKZbxXSx6n2sfAoZjCxbkFhuWtUsNzuMOfEy5a2qBcau10X+IyN fTPXFH6/J4V662LJTvUKFsjWTZa7hymM7KTYqxRRPpzUPvd0RV4Gc7/iZvUj/JHqer+f qM8jyu5X5SOLMZ7PwAdM3gu1ExnGOu9NJQTe5PDu83JkKxh8ct36628RKFtPLKkiczU9 pwWA== 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=yO9I03fNdrKZvB8UnrIAJ8A4tWGtMV8sBOnMJ3UpTSc=; fh=GXoUT2HKXUQzXvT30jHaRNwHOEro+CbAiNXRieX5N7A=; b=l7+Yjw9LfF7/u3lZAZydMclW5PR7gNOOp0xv263XrfQgstmCKcdEo7YhGWzX9im7H8 +iWGV6KlcGWfMSeFarusWfq8WJbROlwHgUT9qfdD9G92lfTCo6SUbT9FU5RN2JhZZiuQ 4677Ll+MhmkMqfdwYkZ0OHnoYbVwDSiTprwEcZ0Bsb6EP61wf6hpXTVlRoTb7Gza+669 umsLE2d2X+q+J83NE5fPF7X9QZtQkcvIJp4omrZ6UHSwRLF+m++HZoGd5Ahz/xM/yrrs k7ZZ6cqyiCCpdS236SKU4DTUlVrC4D1azxjK9fxH76L43hBCBsRgJQpQsZSusrGMlONF bhiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eIiZZARl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l134-20020a633e8c000000b005ee3cfc190asi5343460pga.159.2024.03.30.02.59.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:59:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eIiZZARl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125657-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9B0B2282096 for ; Sat, 30 Mar 2024 09:59:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F22740871; 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="eIiZZARl" 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 4BCD3208B6; 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=Y8MZ/ai17tIfKV3SOXN4whHZrOx4W1mSmBncyZg4Vv0JdXOmL+pdJDnJai3bFgXO2c2iXhghjN736sacLNdt/ls9LQwhXwB+KpEbUtPWAIqBH5M/phK3gAkEUhDwTWtSZMkIgK73He+4tm8BJchNDgcpFdz8wEGKbSz97b8ynvg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; c=relaxed/simple; bh=lhcM6K3TrpZBNI30rUUArfcpy+N8YiTmUvxeRdnrB5k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QtRpjaxQYOX4RyPcxSNxQLaqMWYFU51tD6z/Y+NYFxUX/qTFwyiEif1tXLniCQi41PYxagpKFuyY0J3jQfzBgPPGUI8LGUWCpnoGSM00GtUWBddLz1yl6XUx1dxKj8bBatReDQzCqqWMZ1LHIJWrLmQ/qQOmK3HQROQbEQCye6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eIiZZARl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 277F1C433B2; 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=lhcM6K3TrpZBNI30rUUArfcpy+N8YiTmUvxeRdnrB5k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=eIiZZARle/xlgXKw20QrbbCRJt0vYL5/z4leI4zsHCLp9cNlF/mJ2/PduJARKA40b JIfsBYRKqn2if1aVgQzQzuV8bxUAWn6ZVpzLWSzpdBokkYJd3IpLnZA/Xw7z7QkpK+ sQFWWycg99PAhY9A3214AkVS/qg2aqj/CF8qCNDCHXgupZ4vGDoI/1IkyiS+UCoc6S NK1dw4+vPKBr4L6jl/6D+MhZ2C8G8T6V0xURZ7Q9CeXdI2ryDja9DNGExmv1rtK41Y u3h9Sdcoy8Me1JijmJkLJ79YOBNGeDkF3yGIrVsohxoMO4fRLeM4VHI15NWg88ohmc BaM6ONovnIpZA== 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 206F3CD1290; Sat, 30 Mar 2024 09:57:57 +0000 (UTC) From: Sam Ravnborg via B4 Relay Date: Sat, 30 Mar 2024 10:57:43 +0100 Subject: [PATCH 07/10] sparc64: Fix prototype warnings in adi_64.c 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-7-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=1998; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=4x3bdFE7JXKdL9191J0m+VT2gS8HRbYF0N4eZvrNsnU=; b=KqifCim/T+astHCsES+LmkrKBcWtdEitfmvxz1BoClBokgS1XQlcr/JHLjv9RGX/Od9w5o4aOkH0 f0LJ8jV5CPZjNphmsQqyVbM3ErgZW6krl3I5AYTISzKCQum0oi8T 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 warnings: arch/sparc/kernel/adi_64.c:124:21: warning: no previous prototype for ‘find_tag_store’ arch/sparc/kernel/adi_64.c:156:21: warning: no previous prototype for ‘alloc_tag_store’ arch/sparc/kernel/adi_64.c:299:6: warning: no previous prototype for ‘del_tag_store’ None of the functions were used outside the file, so declare them static. Signed-off-by: Sam Ravnborg Cc: Andreas Larsson Cc: "David S. Miller" --- arch/sparc/kernel/adi_64.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/sparc/kernel/adi_64.c b/arch/sparc/kernel/adi_64.c index ce332942de2d..e0e4fc527b24 100644 --- a/arch/sparc/kernel/adi_64.c +++ b/arch/sparc/kernel/adi_64.c @@ -121,9 +121,9 @@ void __init mdesc_adi_init(void) mdesc_release(hp); } -tag_storage_desc_t *find_tag_store(struct mm_struct *mm, - struct vm_area_struct *vma, - unsigned long addr) +static tag_storage_desc_t *find_tag_store(struct mm_struct *mm, + struct vm_area_struct *vma, + unsigned long addr) { tag_storage_desc_t *tag_desc = NULL; unsigned long i, max_desc, flags; @@ -153,9 +153,9 @@ tag_storage_desc_t *find_tag_store(struct mm_struct *mm, return tag_desc; } -tag_storage_desc_t *alloc_tag_store(struct mm_struct *mm, - struct vm_area_struct *vma, - unsigned long addr) +static tag_storage_desc_t *alloc_tag_store(struct mm_struct *mm, + struct vm_area_struct *vma, + unsigned long addr) { unsigned char *tags; unsigned long i, size, max_desc, flags; @@ -296,7 +296,7 @@ tag_storage_desc_t *alloc_tag_store(struct mm_struct *mm, return tag_desc; } -void del_tag_store(tag_storage_desc_t *tag_desc, struct mm_struct *mm) +static void del_tag_store(tag_storage_desc_t *tag_desc, struct mm_struct *mm) { unsigned long flags; unsigned char *tags = NULL; -- 2.34.1