From mboxrd@z Thu Jan 1 00:00:00 1970 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 26D8F5467D; Thu, 30 Nov 2023 16:19:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="lbLLL9vY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AC8CC433C9; Thu, 30 Nov 2023 16:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1701361170; bh=mDtzF7NAf/4/gCyKEm5oMxB9JWjUMGxC0nVhCgSfJiI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lbLLL9vY1iZm73oW0pLb5e2DTUMZwAVzUyefidj4FWo5C5BEKe0QdpDdbG48LcpVR RGVEOqcSIEiYSLWUJi7eFZbo6zoyYvnMhIuFWrq6+IMh/0b03TTVWdV3YsMdEFRc2Q BJBvgqW0vCh7Bamjd5FtC0tZZY4LTFNienKCGV/8= Date: Thu, 30 Nov 2023 08:19:29 -0800 From: Andrew Morton To: "Arnd Bergmann" Cc: "Stephen Rothwell" , linux-next , "Linux Kernel Mailing List" , "Thomas Bogendoerfer" , "David S . Miller" , sparclinux@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: linux-next: lots of errors/warnings from the -Werror=missing-prototypes addition Message-Id: <20231130081929.46a79c33edee8651c63112dc@linux-foundation.org> In-Reply-To: <4be73872-c1f5-4c31-8201-712c19290a22@app.fastmail.com> References: <20231130075838.05e5bc9b@oak> <20231129131003.d2c1078847c3865c1ac2dfd5@linux-foundation.org> <20231129151030.24b807f1d2b43be301a533b7@linux-foundation.org> <4be73872-c1f5-4c31-8201-712c19290a22@app.fastmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 30 Nov 2023 09:07:38 +0100 "Arnd Bergmann" wrote: > > I guess it should precede "Makefile.extrawarn: turn on > > missing-prototypes globally". > > I already have a collection of patches to fix up known > -Wmissing-prototype warnings across architectures in the > asm-generic tree, so I'll add this patch there: > > commit bdef96eb0b89dfa80992312a8e3b2613bf178ae5 > Author: Arnd Bergmann > Date: Thu Nov 30 00:07:07 2023 +0100 > > arch: turn off -Werror for architectures with known warnings I think this would be better in the mm-nonmm tree, alongside "Makefile.extrawarn: turn on missing-prototypes globally". Can I steal it?