Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1202074rdd; Wed, 10 Jan 2024 11:45:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2cmU6Tje8oa0G6PQyR6Y9KcMdSwpi87EmuERaSspaIeo34nBVplnv2k+SoCdnsjocQcCM X-Received: by 2002:a50:d74d:0:b0:558:72d2:eb5 with SMTP id i13-20020a50d74d000000b0055872d20eb5mr582002edj.7.1704915947050; Wed, 10 Jan 2024 11:45:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704915947; cv=none; d=google.com; s=arc-20160816; b=ysSN1q84vCUj3Kojyr+FLZhkn64+bVoi32pxllmI6OoBmeKSZb7fFOI7x1rF/n4XBZ tN0QTpvcOslH4oakItK/4zUEtBhcK6BNJLdTns0XSOJS1WUS2Z6BmWuBcHUce/HuRAgK iznie8vk/FjgFMFaUPKHTHe2PCsmofVl4IjQjem67aOs1349loWLSbgoUD5zsOvX+woi LYHhs1gj6g4VlP8TyncFL2h8ZD5mwAxTobDuRQss0yO6RqZmLQXWuqiUAnxMqSbNARmy DBsQkV9s8pDKVLgwypWDno/5/Fd2V7bgTFLveWyw3vrV+K0r5BMUX+cBKkITFM4kHhUp KS+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=8zRr9k3M5lt1NLGiBm4LGGbEU76LPHiRlYHf6Ykn1Ys=; fh=hxJ4QqnPhcniAZ6MTTk9NQIo2LdEnQM3z12BvnFek0c=; b=SZRMxcOjD1XL124cHSJtyCKaFzp88CxBNNVremVDnSYeroStUrBjlleD1ZniebelPO TvkQ7s1u4o7xO/TdU7L53MpUAckTDWhg0Mg7WG1dAQ1mzCc0psye4RMch7yTP7OdJ+uU MYVAZUJeAM+PppAwGiHFYLiFJ9yJZ2FU+5R26rCLXMUsY5uPp78DAu7o22GtV0q8QXR9 sc3cDxeNSzGTqF82gFgN3znZdYkab1sEeAk81GIhiogr/2D78yA0vZkCSwOvvHCcP85l IXQtGqgEPWwNwkn3C9967nV/dq2JyqwyxIDiq5doXyLZdP1w69tB6i1TRk1iwUcy44/g QvaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QmyIgXFH; spf=pass (google.com: domain of linux-kernel+bounces-22668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22668-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u9-20020a509509000000b0054c6ee88805si2000083eda.649.2024.01.10.11.45.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 11:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22668-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=@gmail.com header.s=20230601 header.b=QmyIgXFH; spf=pass (google.com: domain of linux-kernel+bounces-22668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22668-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 C2D8F1F232FF for ; Wed, 10 Jan 2024 19:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF35D4EB23; Wed, 10 Jan 2024 19:45:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QmyIgXFH" Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 712194EB22; Wed, 10 Jan 2024 19:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-dbedb1ee3e4so3791761276.3; Wed, 10 Jan 2024 11:45:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704915919; x=1705520719; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=8zRr9k3M5lt1NLGiBm4LGGbEU76LPHiRlYHf6Ykn1Ys=; b=QmyIgXFHRA92s3vFtTVyO5j+k1gQkY68yBDL64620m6Qwqb9HZcY7isSAZYh9d5/tm 9UuVfIyz8zVX1N/QD6Rw0cedIcVI2rcQW2CKDd/ZDzpeLDT3NWlddg3asTxBvog7x4i7 OBJh0CbNwmvsjK8k6FgjMQp2TUoYeov7thXqGAfDQ7A6UUwb/waOVddFVryszWrIKJsR SnwDvpUHja4SNAiUhWyAiVAyXoxeFfShZ/jw/ut2Nz+c/IDHC1HZiydnW9JDa+oRd6aF nEeMDFbluTOu13sLop5hGJU1hJN9ov2dMNlkaDStCgmZLyX2RBHBQNHobsHlWB74SBU6 Ae4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704915919; x=1705520719; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8zRr9k3M5lt1NLGiBm4LGGbEU76LPHiRlYHf6Ykn1Ys=; b=BKT2qwxmJ3wcOM0prF4WQo18C+H0ocKL+7dC3Ca7Y3ymf2CoC0HC+xy7HZ2fOSzVVe VgEqWi7suHfQ0JpWoM8OQ8djygt+agzfYOc1U4DSykAMIEOae2fWDLPTDihWirS0c5PI ZmIju8BKk11+ObmOxxciZ70zRkkL/M9Oy3v1/uNv2kx8MJtehFa+gN4J/5mH4vadHrs6 igiMpVzED5tG969zLjwi0FxfTfeSRx2ytc3q89Xfcq8ak/dGb0JA39+wv5lv6960tzO0 /zlvG6BQKxtB8Clg3WVyT1Zm5YYUPnYKyhi/cWOpukivOLSKT5jBp8aUwmA9PbObDDav 5lVw== X-Gm-Message-State: AOJu0YzrEFPgO5WkZ5wwUpvjvyfu7sblOh8X/+6BK0PFF20zeOlLHBp6 7GBZ0F2ID/dOhzRSGdvRc3FSPgd22+VN3Q== X-Received: by 2002:a25:9f85:0:b0:dbd:5be1:1768 with SMTP id u5-20020a259f85000000b00dbd5be11768mr133994ybq.73.1704915919301; Wed, 10 Jan 2024 11:45:19 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id i29-20020a25b21d000000b00dbccc57e9c8sm1615656ybj.56.2024.01.10.11.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 11:45:18 -0800 (PST) Sender: Guenter Roeck Date: Wed, 10 Jan 2024 11:45:16 -0800 From: Guenter Roeck To: Arnd Bergmann Cc: Andrew Morton , Arnd Bergmann , "David S. Miller" , David Woodhouse , Dinh Nguyen , Greg Kroah-Hartman , Ivan Kokshaysky , John Paul Adrian Glaubitz , Michael Ellerman , Masahiro Yamada , Matt Turner , Nathan Chancellor , Nicolas Schier , Peter Zijlstra , Rich Felker , Richard Henderson , Richard Weinberger , Stephen Rothwell , Thomas Bogendoerfer , Tudor Ambarus , Yoshinori Sato , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org, Kees Cook , Palmer Dabbelt Subject: Re: [PATCH v3 6/6] Makefile.extrawarn: turn on missing-prototypes globally Message-ID: References: <20231123110506.707903-1-arnd@kernel.org> <20231123110506.707903-7-arnd@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231123110506.707903-7-arnd@kernel.org> On Thu, Nov 23, 2023 at 12:05:06PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Over the years we went from > 1000 of warnings to under 100 earlier > this year, and I sent patches to address all the ones that I saw with > compile testing randcom configs on arm64, arm and x86 kernels. This is a > really useful warning, as it catches real bugs when there are mismatched > prototypes. In particular with kernel control flow integrity enabled, > those are no longer allowed. > > I have done extensive testing to ensure that there are no new build > errors or warnings on any configuration of x86, arm and arm64 builds. > I also made sure that at least the both the normal defconfig and an > allmodconfig build is clean for arc, csky, loongarch, m68k, microblaze, > openrisc, parisc, powerpc, riscv, s390, and xtensa, with the respective > maintainers doing most of the patches. > > At this point, there are five architectures with a number of known > regressions: alpha, nios2, mips, sh and sparc. In the previous version > of this patch, I had turned off the missing prototype warnings for the 15 > architectures that still had issues, but since there are only five left, > I think we can leave the rest to the maintainers (Cc'd here) as well. > Not sure I understand why this was so important that it warrants the resulting buildtest failures. FWIW, I'll disable WERROR in my build tests for the affected architectures. That is kind of counter-productive, but the only real alternative would be to stop build (and sometimes, such as for ppc, runtime) tests entirely, which would be even worse. Guenter