Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp430186lqz; Sat, 30 Mar 2024 02:58:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfgwWlSlC8XEerqHqXw37CSamQXCAknWIcJIp0IfQUDrss52t+VxYPPGY2AqnKwY2hkPtjJJzy817Z+BaIfEdHdSKmeAdjpYk01UsDhQ== X-Google-Smtp-Source: AGHT+IGVAjQi65m5sRygmT8IrRGoc/VvFoWiJHSZsUqDCoiDIg0AYCCJID5RODBuP6TEQ/UPXYTf X-Received: by 2002:a05:620a:55a4:b0:78a:5eb3:8e3d with SMTP id vr4-20020a05620a55a400b0078a5eb38e3dmr4781122qkn.8.1711792701943; Sat, 30 Mar 2024 02:58:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711792701; cv=pass; d=google.com; s=arc-20160816; b=hNuKYJ53oey++xe5faMmIct9uQQ5c7eYySqBVIT8ducXYVrk6AoqCjxDJmyGKm8bhG CFo5SpxWlt48R06s0cG0xWzVcrQoodJPYNMVOkjBTROI0mdNfNYHmE2rWPOWcp623v7m xwdBAOAKf6r+Ax0NJOyopp5nbSN8CRetW4pHoURIZo0rPeuAL236My1RvOT0kqshrDOg mErGIDT4XIsp6Ps9HyUGQ0OJbUUF+Axt53LlaBkBMTuyIh5AWKqpB2KY5Z5CrxrN6G7j wvkrSBv6SsKo/mhVU3oGvbU/qgqxcKDH7NxbSm2AYqa2bfxktzg7eKZpQIYs8zWo20kC YLPQ== 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=n7cu+Po5s4VIu8sXZ5Ak4OL0ujn8/aIyMvda5OCeRgQ=; fh=GXoUT2HKXUQzXvT30jHaRNwHOEro+CbAiNXRieX5N7A=; b=yqWI88wRs1IBtwTq2chKrW1tBIXtiRcUrjQICfzfcLKewVDntecA17Mte6niyyZ5je k0fkE5TvMGliGnEy7S/vqGSIFYF42FPuqp8Yk0hAtojbvCYBkFx1vp2tYXFV1ah6+kiH pW/y2eP2fkgzWHxxVkehs6PMCsi+fzB0jhfryXslGHgG70s+G9RCkzAOAocS3TkB8H+m ROctnrQFDNc1Q2Mr7SWdSlH0OVHygXqqfXWxy49qDo4nKl8sj3Ka7eSHE/+anUUc3H22 4itfP+iugaPE9QeQyPeoibgMfpGzONFvslltJAcoBe0AmLpThjzJ3zEBzSGs9KU2I0uv qu4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PUxcK34M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bp38-20020a05620a45a600b00789e6ace0basi5933756qkb.408.2024.03.30.02.58.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PUxcK34M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125653-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A83A71C21483 for ; Sat, 30 Mar 2024 09:58:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26F7F2BAF6; Sat, 30 Mar 2024 09:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PUxcK34M" 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 1E407200A6; 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=PYThi49YGKvKTceauJDlDRxsegLivyIYR6pm2WffXwYcJvCCIkq4rGAloV4WlWrt2jF53j7J3I+tkmbEk894lIe+i4QHf6rJx39vRbHPLoi0C40IQfXUMruquqBuw67lF96FjFON2RWjq36erP9aclNS+Ta2z0T9qLhwVhnL6uk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; c=relaxed/simple; bh=F2ZcqOvsB6gLqMjloYzhDex1+N0kVg8On75ida+P8PM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=l/Mog53OArUxtiDCrU2IrpdBMho0jtlWjqJh5LBd1RdpgJfRpDEcBzxzk+RSWpgHiYgx4fQVuvATfHSpaFYgZ8K/8uFPMQZK3EKcYiP7RN2dqlZmAvV5ZOJz12/nOYxoLKgWgcyAVSDlWpbT+3EEjmrAeHmvPohthgJE9mOmlt4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PUxcK34M; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id E50C1C433F1; Sat, 30 Mar 2024 09:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711792676; bh=F2ZcqOvsB6gLqMjloYzhDex1+N0kVg8On75ida+P8PM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=PUxcK34MA+2z/WsdF6ogE90nplqBeqv41gqT+akDadPUUSdujPJ+thcxS+/j8hG2z ZbApKgti2m/mX1z3P5+thrtCu738EwHD0iy7mAroO88dIY4hnnKFydVIbqLDIQU7Kk kDQlvmcBJ0b+BUIFWK4kA3mOihRbYXFXRlcgSJuGwuG2BP54B7z2iv2Sl8xxwJGynk vblf00ZPuCq7qL131UabB4OrIfsfq111lLUBO0lqoEFKk9Agwg1nuM0e42clZfU0Uy l8j7XmIzh9ejr0bWpACcdj3OUn4+9PoBi69ksh6XAOlUN6RoBF3mc2IcZYJSv8NZv1 zIgYJLq6p+fiA== 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 D7C06CD128D; Sat, 30 Mar 2024 09:57:56 +0000 (UTC) From: Sam Ravnborg via B4 Relay Date: Sat, 30 Mar 2024 10:57:37 +0100 Subject: [PATCH 01/10] sparc64: Fix prototype warning for init_vdso_image 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-1-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=1128; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=N9b4/JHlSvx7NLzDXct2fVraabjc7Gt8Q7BQyF6OslM=; b=pqCSBh8K2ae9bOOHPujcfnCWfW2c5NPkgwVpUmfkAUcvddT2O83UJiZhFCoDwOvrMIzqVXWX7XJB OCUNfTFQDk483lfMK9cJTCWlpEz4kMSy069ZmTRUAiKTkt+BsfeR 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/vdso/vma.c:246:12: warning: no previous prototype for ‘init_vdso_image’ init_vdso_image has no users outside vma.c, make it static. Signed-off-by: Sam Ravnborg Cc: Andreas Larsson Cc: "David S. Miller" --- arch/sparc/vdso/vma.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sparc/vdso/vma.c b/arch/sparc/vdso/vma.c index 1bbf4335de45..bab7a59575e8 100644 --- a/arch/sparc/vdso/vma.c +++ b/arch/sparc/vdso/vma.c @@ -243,8 +243,9 @@ static int stick_patch(const struct vdso_image *image, struct vdso_elfinfo *e, b * Allocate pages for the vdso and vvar, and copy in the vdso text from the * kernel image. */ -int __init init_vdso_image(const struct vdso_image *image, - struct vm_special_mapping *vdso_mapping, bool elf64) +static int __init init_vdso_image(const struct vdso_image *image, + struct vm_special_mapping *vdso_mapping, + bool elf64) { int cnpages = (image->size) / PAGE_SIZE; struct page *dp, **dpp = NULL; -- 2.34.1