Message ID | 20240211193451.106795-1-contact@artur-rojek.eu |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60930-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2076070dyd; Sun, 11 Feb 2024 11:36:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEG+KdmScm1mrg1EgzKiEH7/wCvyrLNXkkBoSpiKljU+im5o9hxo4lWrnWr2jfIULGyjANA X-Received: by 2002:a05:620a:122a:b0:785:a72b:12e8 with SMTP id v10-20020a05620a122a00b00785a72b12e8mr5418678qkj.64.1707680219118; Sun, 11 Feb 2024 11:36:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707680219; cv=pass; d=google.com; s=arc-20160816; b=qg1g2QmvJmNKMzuOyzqrK9mH3KI1u5C5eDWOM9W/0s8aDggUW8fIm4e4zcRJ6+z8lP 50qv4y8exnGfDI2lOcOeCbaaNe78H+t15uVYhxxm/Y1CO9w1Jb2kTD2F7bkt+e0iy3Kt W+s/FK6nfjLJV0vaMKVFysF2yAQBeO3GnjlN/YpVuLHN5LTr1oqpDt0l/vwxhlsfrhab 9wfHJfKCq5PsWVqjg+8xk0KO5wiTzuFzorebMqEpbkGDCE5Vztm19sTn0zUeEUb3ft8R gYR6G0pF2nbB8Z1zxP5D5pnESzLj5NUmzq6dMiaowqVM6seWrYTBxsNidsf0JJOdnFxG 5CYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=gQC6KBTcw2eiutajJ6h+RV0YfYZ4weKNCdko0HISeHE=; fh=Emr1u1wc7LgBjTuHAlnp4y94nHshaxqLS9jUjWfrd90=; b=d/qo48WPjVq+AnEqJCr68i+ruO8c3RvV3/rmzaEKEfu9wko9+rPHucMARy6ApbMIjZ WGGCsFELEFGZ7Yhpmw6tZZHglxcFyPnDMF6a0FbEVefLROS9e+25iqqX9d/eM2a0rh7C DJCgWrMOfuVwyP3iBhj46AxgjU0HoBr1FUe336yxVctH4lmAnUszSd6dXQQBgCvTh8mh 209NuZy6UHa3CyGRNaXn45LypUY+huhY1LT6dw918AQHVlCJvO/EflrAXBpOdctRKym0 LDDnlFrQQsGKrr7xN478IR2339vt11e6CvGoe22xFkDdCsghnlXEwVWlIDS+2u5IeLf9 j2Jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=artur-rojek.eu); spf=pass (google.com: domain of linux-kernel+bounces-60930-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60930-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXVCMscMjdFjI+itgh3O9OQe5QM9K/6Yx4OrMtvmxxFvRhYuGzybUxFV28X7n/yxdshFvfbJrTAMFBV/GfwvLoSlrVCwA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r6-20020a05620a298600b00785ca47de82si3700002qkp.103.2024.02.11.11.36.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 11:36:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60930-ouuuleilei=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; arc=pass (i=1 spf=pass spfdomain=artur-rojek.eu); spf=pass (google.com: domain of linux-kernel+bounces-60930-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60930-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4C78D1C2276D for <ouuuleilei@gmail.com>; Sun, 11 Feb 2024 19:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D40025E22C; Sun, 11 Feb 2024 19:35:29 +0000 (UTC) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 C4CD95C90A; Sun, 11 Feb 2024 19:35:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707680128; cv=none; b=Rv/odlujjTsADlrWkwfCukF30cAbxKG8UIfigwHmOAOWvJjeHoT0qbLTNdgSDOZBqGk2zHqK2W610L2PJO7BAkeynzpZ2P0WEg3jnpAPQ43EUoOvCTFwNv0KvCbdlTHxowei8CdyYDl5FBoVhlOKVf+Q6Sx7BD2mseXjPjcN/Q4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707680128; c=relaxed/simple; bh=4p+eEId/ef6hmdn2ZUdbEMzoLKAUOWJOO2z7RNaWg/Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XLK8IXGDDAWN5+pIPwpQ8msIDxWjlJraM2p/XCOfLCSvPUyKCbCb6EXJJUWA4WYqJEL80C1ovkrd5AgfZrzkgdM8oRrwCm5fPsat3ExyX7QqCqWLtqkqm9hIELUKQ2ei9CFQA0CHayvA0qbY7n7dgav2cuFCMGaNkLt/XgUTtYU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu; spf=pass smtp.mailfrom=artur-rojek.eu; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=artur-rojek.eu Received: by mail.gandi.net (Postfix) with ESMTPSA id C609EFF804; Sun, 11 Feb 2024 19:35:15 +0000 (UTC) From: Artur Rojek <contact@artur-rojek.eu> To: Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Artur Rojek <contact@artur-rojek.eu> Subject: [PATCH] sh: hd64461: Make setup_hd64461 static Date: Sun, 11 Feb 2024 20:34:51 +0100 Message-ID: <20240211193451.106795-1-contact@artur-rojek.eu> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: contact@artur-rojek.eu X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790632493055374623 X-GMAIL-MSGID: 1790632493055374623 |
Series |
sh: hd64461: Make setup_hd64461 static
|
|
Commit Message
Artur Rojek
Feb. 11, 2024, 7:34 p.m. UTC
Enforce internal linkage for setup_hd64461.
This fixes the following error:
arch/sh/cchips/hd6446x/hd64461.c:75:12: error: no previous prototype for 'setup_hd64461' [-Werror=missing-prototypes]
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
---
arch/sh/cchips/hd6446x/hd64461.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sun, 2024-02-11 at 20:34 +0100, Artur Rojek wrote: > Enforce internal linkage for setup_hd64461. > > This fixes the following error: > arch/sh/cchips/hd6446x/hd64461.c:75:12: error: no previous prototype for 'setup_hd64461' [-Werror=missing-prototypes] > > Signed-off-by: Artur Rojek <contact@artur-rojek.eu> > --- > arch/sh/cchips/hd6446x/hd64461.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sh/cchips/hd6446x/hd64461.c b/arch/sh/cchips/hd6446x/hd64461.c > index f3fba967445a..81764882d87d 100644 > --- a/arch/sh/cchips/hd6446x/hd64461.c > +++ b/arch/sh/cchips/hd6446x/hd64461.c > @@ -72,7 +72,7 @@ static void hd64461_irq_demux(struct irq_desc *desc) > } > } > > -int __init setup_hd64461(void) > +static int __init setup_hd64461(void) > { > int irq_base, i; > Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> I will merge this patch for 6.9 tonight. Thanks, Adrian
diff --git a/arch/sh/cchips/hd6446x/hd64461.c b/arch/sh/cchips/hd6446x/hd64461.c index f3fba967445a..81764882d87d 100644 --- a/arch/sh/cchips/hd6446x/hd64461.c +++ b/arch/sh/cchips/hd6446x/hd64461.c @@ -72,7 +72,7 @@ static void hd64461_irq_demux(struct irq_desc *desc) } } -int __init setup_hd64461(void) +static int __init setup_hd64461(void) { int irq_base, i;