Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1931837pxu; Sun, 13 Dec 2020 08:00:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjIgVQGY8tx5BHusuAe+XtpOIfKlaD4ZHdHB0HfbKrnJK65V9ucBUxKI/9g4bo9oaTW213 X-Received: by 2002:a17:906:fb1a:: with SMTP id lz26mr19060500ejb.194.1607875238967; Sun, 13 Dec 2020 08:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607875238; cv=none; d=google.com; s=arc-20160816; b=vHo3QmiNDSM5EzcjqK9S7j0BKSSHPUld8XN5jvDO0oV2NlsjNfE/q8i/H6pf/05Bb0 9RO8dy6Mo+owlIX3OhoIWXgjKUwNZl7Oaxrm11lyaoj9+FzW0xPd1nF5qevdZAI8c2j3 Vz3eOSFIRy6lb8/w+0rWW7G/rCaPuN5NQbGG2vEhkcZf1yIDfNnPSsRcBHhOKuaDYUwL gshZUqtsU4BevK2lJp6j5dDvPy/P3zssr15l4m+kA5HTfS1oYMwN0fl6KW8Oox1qGC0c t/yn72Xqln2FPX+3FhB4Rat5Wn9RQWMW4ehfg1v1HdFgKle1n5dNlBEPBn0yt/pGNfyS veFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ohfb6PS6heT9rthxIVaAwHdwPtLaCOLcj0Or4Jj88tE=; b=HpgSU9wWLR4PZAabPJfezC20G4mVFm2ljQ3whSLx8Hh9x9wTugfrMcWHOISdnaab3J jARNtf9YUIY78efbOQuQOmJ9BqvhbD9Wefa+biYeoRnw+P8qHzWymeVHyApcqQvgXvEk bfT0xkwUANQSdTPfuBTe6AV8U0z4apXqDh7yZO7HHYFVfWls6ke1ZZavQJXQXt9hqzg4 YfjNAcFpA1P4hBuDZ+td3di/LE60qQtUKfSEq5OVRaBnL8ogbUdfkSvcMgI/0HoGdn/a lXnBtT+Dlu0CM9EYUUfOn66bgYXUUHUFHnC42IpcE3P9IxK1JKUFtMs63iXrDN25NurM 6qaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=zw+Zgzt8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si8184585ejc.508.2020.12.13.08.00.16; Sun, 13 Dec 2020 08:00:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=zw+Zgzt8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729002AbgLLQTh (ORCPT + 99 others); Sat, 12 Dec 2020 11:19:37 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:46092 "EHLO gproxy1-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729230AbgLLQTU (ORCPT ); Sat, 12 Dec 2020 11:19:20 -0500 Received: from cmgw11.unifiedlayer.com (unknown [10.9.0.11]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 21289C330C6B4 for ; Sat, 12 Dec 2020 09:18:33 -0700 (MST) Received: from bh-25.webhostbox.net ([208.91.199.152]) by cmsmtp with ESMTP id o7bMkD85bdCH5o7bMkFnxv; Sat, 12 Dec 2020 09:18:33 -0700 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.3 cv=IdWpp1ia c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=kj9zAlcOel0A:10:nop_charset_1 a=zTNgK-yGK50A:10:nop_rcvd_month_year a=evQFzbml-YQA:10:endurance_base64_authed_username_1 a=VwQbUJbxAAAA:8 a=UGG5zPGqAAAA:8 a=pGLkceISAAAA:8 a=1XWaLZrsAAAA:8 a=ekWyMdHfF5DymNlJAZQA:9 a=CjuIK1q_8ugA:10:nop_charset_2 a=AjGcO6oz07-iQ99wixmX:22 a=17ibUXfGiVyGqR_YBevW:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ohfb6PS6heT9rthxIVaAwHdwPtLaCOLcj0Or4Jj88tE=; b=zw+Zgzt8RzKBBLj43KwMbx3GSF 7W09c62qztGcN8PW7XnvsMJPOPHpVMhlP7IQ0W9WBQ8WRL7t4C6Q4jpxdXCuEF/aMV9zQ+MBPabBX IUjJPfF5e44uT/bOhGqnmdyZiROYr1KXJwaUgidBNT/uI+Fooct0SNGO2CUXCI4fXeuo1v04g/wXc nJG8EU8XmIHVWE01wKUBW4ly+UsKOtJ1HuqIXD72Ut3+R2onCxRilQwDrsMYyIwSUQCuxRe+aZMGB PyF8aS7xxgrcWPos5rpt4ttVNo14eRoYiDdQl7Zu5CGLaeFJLerP0zBU65EsIM8tzF+5gClYz7BoW qTjWHUmA==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:50122 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ko7bL-002w99-Rs; Sat, 12 Dec 2020 16:18:32 +0000 Date: Sat, 12 Dec 2020 08:18:31 -0800 From: Guenter Roeck To: Masahiro Yamada Cc: Miguel Ojeda , "Jason A . Donenfeld" , Nathan Chancellor , Nick Desaulniers , Shuah Khan , clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, wireguard@lists.zx2c4.com Subject: Re: [PATCH v3] Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK Message-ID: <20201212161831.GA28098@roeck-us.net> References: <20201128193335.219395-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201128193335.219395-1-masahiroy@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1ko7bL-002w99-Rs X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (localhost) [108.223.40.66]:50122 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 29 X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 29, 2020 at 04:33:35AM +0900, Masahiro Yamada wrote: > Revert commit cebc04ba9aeb ("add CONFIG_ENABLE_MUST_CHECK"). > > A lot of warn_unused_result warnings existed in 2006, but until now > they have been fixed thanks to people doing allmodconfig tests. > > Our goal is to always enable __must_check where appropriate, so this > CONFIG option is no longer needed. > > I see a lot of defconfig (arch/*/configs/*_defconfig) files having: > > # CONFIG_ENABLE_MUST_CHECK is not set > > I did not touch them for now since it would be a big churn. If arch > maintainers want to clean them up, please go ahead. > > While I was here, I also moved __must_check to compiler_attributes.h > from compiler_types.h > > Signed-off-by: Masahiro Yamada > Acked-by: Jason A. Donenfeld > Acked-by: Nathan Chancellor > Reviewed-by: Nick Desaulniers This patch results in: arch/sh/kernel/cpu/sh4a/smp-shx3.c: In function 'shx3_prepare_cpus': arch/sh/kernel/cpu/sh4a/smp-shx3.c:76:3: error: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' when building sh:defconfig. Checking for calls to request_irq() suggests that there will be other similar errors in various builds. Reverting the patch fixes the problem. Guenter