Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp243381lqo; Thu, 16 May 2024 05:18:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfrFyJX5pq/BKi2vO9mDf+ZxboyE5QlmyfT6a+RdjATkV915MYdhgpY3AVgiWWChgN6piPFY89jMY5sIV5RFdd+RVPhM5LZEI29v+KXg== X-Google-Smtp-Source: AGHT+IEX5vxsOoE2TMdfNT0k3JRXZFRN4/zcnTUHfdviayRjh7VK43aVJ4pcwc518ZTWmJN1l781 X-Received: by 2002:a17:907:9490:b0:a59:9a68:7260 with SMTP id a640c23a62f3a-a5a2d65f2eamr2337414566b.62.1715861906656; Thu, 16 May 2024 05:18:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715861906; cv=pass; d=google.com; s=arc-20160816; b=uKi7nLg3SpW7jWWkABAc3eKWHAqrojWfPG+q1tcaQY3T2mREg6BqCVRsUowQbdiFKj cdf0SvShd4TN0PyUud8QV5uJxcaGAHRN0UoWWlq8flaz5Mp3ApO16HdRh8ojUzkU8Yit qz0iWigND1qfV0N0zYouxTEHBFZ0li0LjiXEXVRpovr8LvBpFUDk1H2BrvgWTMHOUwp2 fc3+ozLkDeV6qIONwPDY6h2vBURGMSa9YRVlZx0bWpuAlWI4KrAaT+HYTgwYozG997D+ Sr/kTjVKVTwIadNt9VPF4ax7txztZgr+iFKAtt6wwX/m9lFRCzyDdzAEZIw+UDddtCie a4fA== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=c/c6UprRMJ+Pu2qhWWNi5OJ+tLUdGCPrD5YFgn6dxvw=; fh=qfXoZJXMJYnJXPHNi0NPBNO8FOJmEJGqgyN0AhiyuNI=; b=Ja9zBrXjVPq3wG6lDAVjxBbFzmG0Sx7I+ewrxMVTZBEbowdrJuR3zCdQjnAxxTfmMr 3rWP2iecqffjnZ8aevMTOD6An5JcoxmZougCNHVffovBxqOc65FeMljL7+kt04JaZWeJ ++rrnvWhjJsDK1rbv9sVsWkHtCeuwnPvPalevt/VvfxkDJJXZrJ1s5tc6T+ydF31futg /4tqmqDsfpIGqPY5tSroopqCAIzXNDJLHOlFcOIO6jdbnUw0NanH9XYXVHUGC+aWQ116 4J3dgbD6hSTcdurbhWdR6zKZBxLBXfUHqe1ybRXxz6eb+CRuUNCFEgDjEJaHYQUuhuIX 9duQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=LOffGyV7; arc=pass (i=1 spf=pass spfdomain=126.com dkim=pass dkdomain=126.com dmarc=pass fromdomain=126.com); spf=pass (google.com: domain of linux-kernel+bounces-180988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5cdc20d1aesi124797066b.695.2024.05.16.05.18.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 05:18:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=LOffGyV7; arc=pass (i=1 spf=pass spfdomain=126.com dkim=pass dkdomain=126.com dmarc=pass fromdomain=126.com); spf=pass (google.com: domain of linux-kernel+bounces-180988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id EDF3A1F238A8 for ; Thu, 16 May 2024 12:18:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10A0B145B3D; Thu, 16 May 2024 12:18:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="LOffGyV7" Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.9]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 687F4145B01; Thu, 16 May 2024 12:18:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715861899; cv=none; b=KMvoOwqP9zW1TMgsmWxeea8GQlYSFwt6u4YFalNZTLhmRam6gBTmsevklBUSwZinXoE7JQZgefR+pAfuifLfYhxZ/qLdwB6ZYunm8TQ+1gSEVS8ezQi6DGcrqcGLy4tbmJa/uISQogX0qwRB1h+EQC2U0ie59mCfC90oqILUWf4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715861899; c=relaxed/simple; bh=HFCQg3Sx4ZhEpDdFJ4Xk+JoGPY6Gfx1b4LEHhW4aXsA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=oYFOLD2DEVsknwCqwvwm579S27PyqDQRof35SXxz/5H84EEXY91xrxP1RsfwF8W3R6PEgiB8Q5lgmeSQ4ZEHx36a0yHxU1s2KdAH6APX7emE0Ms0n0P9MgLZBXlv2aVfesVm8NA3x3L9EeKzOSWVpXBRz/8eXEN57N1v4Fmv+nw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com; spf=pass smtp.mailfrom=126.com; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b=LOffGyV7; arc=none smtp.client-ip=220.197.31.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version: Content-Type; bh=c/c6UprRMJ+Pu2qhWWNi5OJ+tLUdGCPrD5YFgn6dxvw=; b=LOffGyV73othVfZ2u6U7kpHvNHb8ueEpG5nSavtgJ1IQQKabg/Mqyca701W+E8 WCtLQeJdwM6X20TjKDQhRQtUVfXJIo1gJHA4pWS/kyG3KMDyTjeOFGpIWUDsfiIZ xpzxkVKSAhzJaffaxpA/Ze+DebM2GWs94l3ha6forVCLg= Received: from localhost.localdomain (unknown [116.128.244.171]) by gzga-smtp-mta-g1-4 (Coremail) with SMTP id _____wDHD+tp9UVmXt_9Bw--.21873S6; Thu, 16 May 2024 20:01:58 +0800 (CST) From: Genjian To: tsbogend@alpha.franken.de, chenhuacai@kernel.org, jiaxun.yang@flygoat.com, ricardo@marliere.net Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Genjian Zhang , k2ci Subject: [PATCH 3/3] MIPS: ip22-gio: Make ip22_gio_set_64bit() and ip22_gio_init() static Date: Thu, 16 May 2024 19:59:06 +0800 Message-Id: <20240516115906.1224164-3-zhanggenjian@126.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240516115906.1224164-1-zhanggenjian@126.com> References: <20240516115906.1224164-1-zhanggenjian@126.com> 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 X-CM-TRANSID:_____wDHD+tp9UVmXt_9Bw--.21873S6 X-Coremail-Antispam: 1Uf129KBjvJXoW7ZFyUAr48KrykGry8Kr1kuFg_yoW8JFy7pr W0yFnrKFWjgFWDWFs5Cry8Xr4S9wn8ArWFvF4qk34IgF1rGFy3JF4rKr98Zr1UGrWUZ3Wr XF1Fg3ZxKw4I9wUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UZAwsUUUUU= X-CM-SenderInfo: x2kd0wxjhqyxldq6ij2wof0z/1tbiHhTgfmV20wENggABsb From: Genjian Zhang These functions are used in only one file. Made them static to fix the following build error: arch/mips/sgi-ip22/ip22-gio.c:249:6: error: no previous prototype for ‘ip22_gio_set_64bit’ [-Werror=missing-prototypes] arch/mips/sgi-ip22/ip22-gio.c:398:12: error: no previous prototype for ‘ip22_gio_init’ [-Werror=missing-prototypes] Reported-by: k2ci Signed-off-by: Genjian Zhang --- arch/mips/sgi-ip22/ip22-gio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c index a3cdcb289941..2738325e98dd 100644 --- a/arch/mips/sgi-ip22/ip22-gio.c +++ b/arch/mips/sgi-ip22/ip22-gio.c @@ -246,7 +246,7 @@ void gio_set_master(struct gio_device *dev) } EXPORT_SYMBOL_GPL(gio_set_master); -void ip22_gio_set_64bit(int slotno) +static void ip22_gio_set_64bit(int slotno) { u32 tmp = sgimc->giopar; @@ -395,7 +395,7 @@ static struct resource gio_bus_resource = { .flags = IORESOURCE_MEM, }; -int __init ip22_gio_init(void) +static int __init ip22_gio_init(void) { unsigned int pbdma __maybe_unused; int ret; -- 2.25.1