Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp305716lqp; Tue, 11 Jun 2024 05:23:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrzflOUjv2ryGOFRMn7V5cE0imiBdBt5SKoCpSBVingOSLsV2DThg8pPjweyqy+cJfGqovakOzAPT6IeWNBpUIs8NwFzcejm6llOqdXQ== X-Google-Smtp-Source: AGHT+IH+i28kYZDaV82l1nyczvvqTZDirIins8S0z9GY52YL8DnHEk0tFxIMfLA6R7rvoeO/iYbM X-Received: by 2002:a17:906:c007:b0:a6e:f701:384d with SMTP id a640c23a62f3a-a6ef7014b0bmr609927766b.29.1718108588711; Tue, 11 Jun 2024 05:23:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718108588; cv=pass; d=google.com; s=arc-20160816; b=fVswW1vgn+ZUWzlwdAme0q8V5s86AH8dAkd7ZkdO/bqAzNSNJAk6BwNW/voc4U4zqN f0wUr5UEQiEoWrnuRctKjz5S6oQ/dDeRMFzkA87KAywanfHbpQJKyfp8nPr7PUkHlg3R axP0Rf60jslqzi1QnkNHDM+1xrlUypG3/5TofCsLM6Ii6MU5mVDv5YvH9mihWbgvu1M3 Dx0Ig68b44SbRKRMim0KnPY7cQ6fB4mJhZ7VjjnNuJnZPFGlSBAsNT3YxbQJpkhyxozC 4DBu+F6Kd5Z8DfPaS86EzC4DDG/oN5bS3tgNVRtrvE/25arepTLS2QWWBMWo1M2xCV9I guDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=+SSagRvAKGAnas+B5l3au26jGveMxmPFKF/n92dG9Gs=; fh=8ncLZnMMFcbb552M1Snl6smpn8KbPpMxSmHJqvjgvuk=; b=SBfp8dISELX3h6IvBEh5yZcPAzZ4IjseI1GhY4MKOtJl+GyfCVYajWwyxRk6TWx0eK sEe2hbyaSqDn2DNuoToVpk3QhXWFK3dA+tqUdYNG6QFJ9EKwxEZBcRKKBAHBmYmrRgvi Pnnf/EgNl8I1tBqlwVYkyYFcltuB+cz3IuKTp6fJCGA/89KMFcC6Cfct26I2gz/ZM5GL eJIe6Y/qJOjtRdH/FFz1VQ4c1hzz1Z8UtMkBhdmxfsCHAvgk7MEDkQXAQBFkKJRPRB93 jtJEfuefwsUXVYSPms6dq58tY1NQO3bzh283L/KD8DggQ/gGKRpn/v+UMcMHtV5lQfBD 8zZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-209849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209849-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c80749391si557684366b.925.2024.06.11.05.23.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 05:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-209849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209849-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3CAFE1F21EF1 for ; Tue, 11 Jun 2024 12:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F3B717CA01; Tue, 11 Jun 2024 12:22:26 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0533217C22E; Tue, 11 Jun 2024 12:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718108546; cv=none; b=D+AV81/fCvP0v73rf/I7+JZ3xJRkwsTuEIn8RT0H2VyCxWv2l/e6FYsuNXkK5KfRXdJOZ4EOS1H23if8yeA61eDflYCgRspo17/dtCXqlZG+Ue/LXWsOj0F0ZXsyQ/LXOM5OWE6YEoC92tiRSKkDImqk4bycFT8t53R6WVhGqqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718108546; c=relaxed/simple; bh=eIWN7NRUfG25J8xTCyoCIcTUao9W0hMxtDsFna6hIvA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T85sQ6xcnf2uWVZGaF0EBevC0+EdKhI5WM75bXwfGtV/jC/t8cJszWrsKsAS/a7jkVY0sAtG23/Qupb66FM6WfBSqt3/6JmBPXb8BjWhY+8c+i9hl3bLTaurBRSvFLVr3mtbkQ3iaOuIwYLSACziKmjc+Ctfrn3byCbWfhyDGJQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1sH0Vq-0002Bh-00; Tue, 11 Jun 2024 14:22:06 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 4838BC0A35; Tue, 11 Jun 2024 13:21:54 +0200 (CEST) Date: Tue, 11 Jun 2024 13:21:54 +0200 From: Thomas Bogendoerfer To: Genjian Cc: chenhuacai@kernel.org, jiaxun.yang@flygoat.com, ricardo@marliere.net, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Genjian Zhang , k2ci Subject: Re: [PATCH 3/3] MIPS: ip22-gio: Make ip22_gio_set_64bit() and ip22_gio_init() static Message-ID: References: <20240516115906.1224164-1-zhanggenjian@126.com> <20240516115906.1224164-3-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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240516115906.1224164-3-zhanggenjian@126.com> On Thu, May 16, 2024 at 07:59:06PM +0800, Genjian wrote: > 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(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]