From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C604BC4167B for ; Thu, 30 Nov 2023 16:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232298AbjK3QUY (ORCPT ); Thu, 30 Nov 2023 11:20:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232192AbjK3QUL (ORCPT ); Thu, 30 Nov 2023 11:20:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E56222700 for ; Thu, 30 Nov 2023 08:19:30 -0800 (PST) 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) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?