Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp837663pxu; Wed, 2 Dec 2020 04:54:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBFEZoImJEsV8Km9p3+Alw7hknm6Y2Qp6GWV22HuNjKXCvV3TlIHxE8r/SY6gUzvcKO6dg X-Received: by 2002:a17:907:6e6:: with SMTP id yh6mr2181894ejb.512.1606913648119; Wed, 02 Dec 2020 04:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606913648; cv=none; d=google.com; s=arc-20160816; b=J5aFqoVFloqmDRAB5ghHbzaieyp6OdzxhfDiQvW29aqT/+zxOdyx4U7di/ybj1HG4X H8Y9obSQMYBymQ6WTwytf5+6iisKjCAXV7vLQeh5lCcYrxv4uri95fwniPCoVd8Fk+DU xXvP7ZgeNtNYk9F5/snW7pjq4A/CpVHXoNuMg1JtBl9ZZlgG6EuSf0fNNPpJID45N474 wMPopNQRmnOqiCmenP7emLyuo2UaleCmxkwvafVnQ+mrpZQUMvo4FZqbdhewLYKL9ckz Zm0h+GKKehHykfha9StIpGr7VVDCiRQbAbomQY1kV9DHCfBYP8USe6eILGsy6OZIQa9o Yjxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wZOsnLsRD15EE78n8bQEf+aUkvjzCWrGeOD2j6m7n7M=; b=kzdgSSEUupg48lCbUiAuot2wmxHwHid0gJxXNPQjErwbHpXSmXeMv+msGpcQah0sKF vkQFjbuLTQDlwHmFf8kSDlczp2qUyYn8AXB45rdhqLD9tjdtICwsbAz0E9NyQGxaFu7t +CtF2b3G1R9DKnfrXhV9CaaFjdpkZtN/WG/UmVK7QKr5HJuxk3JeIo5IszQ7iQ377JzE aB8KypEfNmUmfkKE2Kwl9sfDXYmEjuMr8gRhQBiyctSfcfvE8yPMaYkQAWrK3MULTx9X yo+b4OtkgqFCU47SbJrGaablwrQhnRsgHTP0XfPauYk34vjX3R+weTtHpDan0vTy6Xf+ PdDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pz5K1LSq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si981281eds.144.2020.12.02.04.53.43; Wed, 02 Dec 2020 04:54:08 -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=pass header.i=@gmail.com header.s=20161025 header.b=Pz5K1LSq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387527AbgLBMvW (ORCPT + 99 others); Wed, 2 Dec 2020 07:51:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727832AbgLBMvW (ORCPT ); Wed, 2 Dec 2020 07:51:22 -0500 Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8A33C0613CF; Wed, 2 Dec 2020 04:50:41 -0800 (PST) Received: by mail-yb1-xb42.google.com with SMTP id o71so1506403ybc.2; Wed, 02 Dec 2020 04:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wZOsnLsRD15EE78n8bQEf+aUkvjzCWrGeOD2j6m7n7M=; b=Pz5K1LSqrNHi9j26JaHRbiUG9fIgZ88xbsQOpQuqNaY6to0gMZKA3gZJQkUb0wH5DZ m49l97B/Sqo285TY12ocrdpvuF1+g3C5wyRcsbz5oUmKsqn2e3S3KkpISid+6Jy9TPZJ Yhi5380lJNF1O7HhBn1xvlehBO23pu1N+bhGYtju8XUuq3mjQtYO7rQGT3bt/wyhJYu2 nmqwt7PmuQulhc96znbjOdtX+q3UrUnUYeqP4ZRdx3XdbsSwYDKeQGZVsWKY8+j3ePUW 6FnR5bBGkAJxjBXXLZqpT5MNdDiJQM0xvHspl+LDp7RWfzuVkEt8IC16/vlbOKXzJ2tq tkiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wZOsnLsRD15EE78n8bQEf+aUkvjzCWrGeOD2j6m7n7M=; b=CmnNCMK67ydFsLA9BbYpFkJWXZoCHcqteHJmXxia+CbPGuDS2zvdFQEn/hX9wCxOCH bumwxa6Hh/jHeRw00dtgKM390Sq3yu4JhdJobYNit8kdoLZmVY2ck7oRpf5iuLF33Hnz ZXUt97vkWxGzwvEmmqugNOBAeSQ+cBkzE2/gTT01f4hTqclQoQZIHxXtGusYWMeo9qUO dS14rc6cU8FfkO6ytou2QlmCeYTKsprHENm0MtulM4LjADqcEls2Mh398WnHr9PMg+ud d4+1J+6MQz643X3mu37CbBPRgSat9jGGTQMAtd640FRs9ueWx7KGAWXg2gvZj+hL6ucp FH5g== X-Gm-Message-State: AOAM5303PgBxLJNP0G4Mgv/DpeBv/GmpWmkwiHFcLWzzqrtFbuXcQmb9 fxWr94Lfl+vrDcQUZXxLgSvLNMY+OPbFEl/yMZM= X-Received: by 2002:a25:df55:: with SMTP id w82mr3065596ybg.135.1606913441319; Wed, 02 Dec 2020 04:50:41 -0800 (PST) MIME-Version: 1.0 References: <20201128193335.219395-1-masahiroy@kernel.org> In-Reply-To: <20201128193335.219395-1-masahiroy@kernel.org> From: Miguel Ojeda Date: Wed, 2 Dec 2020 13:50:30 +0100 Message-ID: Subject: Re: [PATCH v3] Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK To: Masahiro Yamada Cc: "Jason A . Donenfeld" , Nathan Chancellor , Nick Desaulniers , Shuah Khan , clang-built-linux , linux-kernel , "open list:KERNEL SELFTEST FRAMEWORK" , Network Development , wireguard@lists.zx2c4.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 28, 2020 at 8:34 PM 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 Picked this new version with the Acks etc., plus I moved it within compiler_attributes.h to keep it sorted (it's sorted by the second column, rather than the first). Thanks a lot! Cheers, Miguel