Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp170313rbb; Fri, 23 Feb 2024 16:30:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8Ay7RByMSFsurakhIatIE0gkatU96mKCSgARBhq1tzloyapC+aAJWK4bmau+0ghmbiCPGhjrjEVtlUlCexmOSQjdCMZToxm/YtNQ7rw== X-Google-Smtp-Source: AGHT+IGZjESl2finvvR3KLhEI3Jltk8AoZc3SFb5nWfeLVY9habvPfwDKSzzySmAld+LZNw8HBz1 X-Received: by 2002:a05:6358:9888:b0:178:7630:fb46 with SMTP id q8-20020a056358988800b001787630fb46mr1667554rwa.29.1708734608987; Fri, 23 Feb 2024 16:30:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708734608; cv=pass; d=google.com; s=arc-20160816; b=TG0tlvyPRnNrPm2jBmyZNSIIMZs+stsfa6C96vKSee4rOu6reBEd1YimnbrKaHk4lh SkhoS/9kO6Vw2nxWJlDmSjPPH0YgD4Ng/vE3tKKe2l//uPVsqZ0z2mDKDZ/7asqT8/Gq IPaaaCGM8d/BpuuYn7Wq09BTAgCul8GfAumDNVRl+5rUxE29pLIl3noHVHZeBbSW6JH5 JYkLmLD6kywqMYZglHCnNecW2tCAT9xBNHqCYy8wIoNyQGLXMTZO0yzueb1nyoQnBSaK ykXT5/FCLdNKVIWL0BmToNTGI8KQ0CfQmsXep5bRWltReAtdxGv381jgb7T0eQlFtEGt NPPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=gOpJqIKHrYdAdrp4+8xh2s9+ZzmBOi5gRguaabwYj6Q=; fh=XwoqLYP6FMCr1fn/4ckfYoqc/4QHPS0/OVNUWOvREUM=; b=gsh07r6zxuP9olZZoiuanwc5pKAzSOvG4AFcbqnFAwCeuwjTfhKYwqnuhtJzF4KaWz MJ7xvNDYPJVxmvaPSue4pd0vHt/SgfWZtYR8uTmapZV9EREXCQ3lLDU67JUOz3u4FpRR ERtibIlxBCf+uOiMxd0MZmzFaXU92JtOmYkRxYOL6vO/FemVN7yuhQ2CdBuzjQiNCVIj x1rms5xuH7flQS0XrnyqS/L7mIBa8ysazyu1uQb/ATDxzgj8K0+W4hCTFMR2eBWPbAYS mj71kxQEWVWU9jWjQbIDgDv/YLAa8+GsHLZQ7i8jdghzg8K5vVusGiwUA+Q8e8LNPiDK A/6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ua0b7SgM; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79365-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79365-linux.lists.archive=gmail.com@vger.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 o20-20020a656154000000b005d8b8c682cfsi101145pgv.582.2024.02.23.16.30.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 16:30:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79365-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=@infradead.org header.s=bombadil.20210309 header.b=Ua0b7SgM; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79365-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79365-linux.lists.archive=gmail.com@vger.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 946442823E1 for ; Sat, 24 Feb 2024 00:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB58817FE; Sat, 24 Feb 2024 00:30:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Ua0b7SgM" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 AD0551391; Sat, 24 Feb 2024 00:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708734604; cv=none; b=Eol/A53GTo0fpsw/lSdoqYQRLCTa/xEwCOLgG/UtFIV1piRiNqrzX1QQ9xHtIIvTR2zXLwS6oqVNSyMu4qz4u3J/EsQDNsosmoDbuwUYgNFtwsJGPq2DD8R74N5IsERBN+sUnYh9+hmHjbfi02K10EUIcXHB/LgJ9mBLkZSAI4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708734604; c=relaxed/simple; bh=kxojQVNnM759VfcUUvz9/QIZ54cjntTrT98mGnYBwf0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YQTL+0bPydhziYos4KmKjkH3bMMXk6PM+X9J+NC8L04W/r6rlAkBkkZmQcMtgYH6YA9kghHI48Je3MLysw/JDekQgrY8AA2mocc0pWHMRkeB3TTSjnoZJnlSzApgYXrnfv/81pa19uqvoVvm2PGZgX7cVrge7abrPysXfJ/cbO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Ua0b7SgM; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=gOpJqIKHrYdAdrp4+8xh2s9+ZzmBOi5gRguaabwYj6Q=; b=Ua0b7SgM3o2+rmgI0f5S1lgiUz kwWwPpdCeOpP8Ja27XL71SEJF6Rchsn0uiuZqzhGdmjN8576y9wJDVYnLbM0J4fn3NuIcOFvyTs45 kpyeex8URTRDpzL3gCUu9wduj6rmNGgBwQRkR3KimSs4R2SDYk0QRa8C1QwgsXCIPvd5rBGztiii4 UKc4QZYDO+qMr3jihcebANk+byfII/jLIJjoa7syMGlvBoqvjGwuL1Zjqo1/lcwu1wm8WgOxF0v4Q EuNLpVRXrxRr1qrZLQn7nMK3mhjZ6Hz7lxTbBd9eBC+Zy8+yQ42Ex6SLLrG+HH8H/guTgCmmiWSGg PWI94tQQ==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdfvW-0000000BgUh-0Mfq; Sat, 24 Feb 2024 00:30:02 +0000 Message-ID: Date: Fri, 23 Feb 2024 16:30:01 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/6] mtd: maps: sun_uflash: Declare uflash_devinit static Content-Language: en-US To: sam@ravnborg.org, Miquel Raynal , "Maciej W. Rozycki" Cc: sparclinux@vger.kernel.org, linux-parport@lists.infradead.org, "David S. Miller" , Andreas Larsson , Arnd Bergmann , linux-kernel@vger.kernel.org References: <20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org> <20240223-sam-fix-sparc32-all-builds-v1-3-5c60fd5c9250@ravnborg.org> From: Randy Dunlap In-Reply-To: <20240223-sam-fix-sparc32-all-builds-v1-3-5c60fd5c9250@ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/23/24 11:36, Sam Ravnborg via B4 Relay wrote: > From: Sam Ravnborg > > This fixes the following warning: > sun_uflash.c:50:5: error: no previous prototype for 'uflash_devinit' > > Signed-off-by: Sam Ravnborg > Cc: Andreas Larsson > Cc: "David S. Miller" Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Thanks. > --- > drivers/mtd/maps/sun_uflash.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c > index f58cfb15d6e8..b69dade3f7ad 100644 > --- a/drivers/mtd/maps/sun_uflash.c > +++ b/drivers/mtd/maps/sun_uflash.c > @@ -47,7 +47,7 @@ struct map_info uflash_map_templ = { > .bankwidth = UFLASH_BUSWIDTH, > }; > > -int uflash_devinit(struct platform_device *op, struct device_node *dp) > +static int uflash_devinit(struct platform_device *op, struct device_node *dp) > { > struct uflash_dev *up; > > -- #Randy