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 X-Spam-Level: X-Spam-Status: No, score=-16.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D92EC433DB for ; Tue, 5 Jan 2021 05:59:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24D6F229C5 for ; Tue, 5 Jan 2021 05:59:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725710AbhAEF7Y (ORCPT ); Tue, 5 Jan 2021 00:59:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:53630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbhAEF7Y (ORCPT ); Tue, 5 Jan 2021 00:59:24 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4F177227C3; Tue, 5 Jan 2021 05:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609826324; bh=M90jhBdiFXVbsGD5pYBV2cqPCbT6JyTQD6Oaxavk6EM=; h=Date:From:To:Cc:Subject:From; b=eOrA9gViZNChfa2l+n6CqecHWlQTSCADG2csBRcvu5t9nMd29rIIsgMbydcmx7gD2 4g3RWlFRN3JBcWjsNojs7ibXoOzwZqAKEO6NcVhwu1BZf4chUeSZ1k8wfLbAPFlx23 mdpqDlR2dbqto2jaA0mdTrXaOFkDY+/TUswzbbk8dFiy/UoM/lReHLds1t/UWv05cJ wMLXaO+ch6VeusLROs12VGs6h7A9Zq1Wz5jpH8nCppvVcpRA4yztQEbmgTH3HzwY7d rydo2zvsdiA2O+eZ/5GtS0XC99kja7pSZfTVdW2KqparMUh7qHnKbDibbXoKM8VjwB z5h3YlBpaSwyw== Date: Tue, 5 Jan 2021 06:58:15 +0100 From: Miguel Ojeda To: Jonathan Corbet Cc: Masahiro Yamada , "Jason A. Donenfeld" , Nathan Chancellor , Nick Desaulniers , Federico Vaga , Harry Wei , Alex Shi , linux-doc@vger.kernel.org Subject: [PATCH] docs: remove mention of ENABLE_MUST_CHECK Message-ID: <20210105055815.GA5173@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: elm/2 Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions. At the same time, fix the outdated text related to ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08 ("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED"). Finally, reflow the paragraph. Signed-off-by: Miguel Ojeda --- A couple translations (it and zh) should consider updating this too, since they also have the mention -- Cc'ing their maintainers. Documentation/process/4.Coding.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/process/4.Coding.rst b/Documentation/process/4.Coding.rst index c27e59d2f702..0825dc496f22 100644 --- a/Documentation/process/4.Coding.rst +++ b/Documentation/process/4.Coding.rst @@ -249,10 +249,8 @@ features; most of these are found in the "kernel hacking" submenu. Several of these options should be turned on for any kernel used for development or testing purposes. In particular, you should turn on: - - ENABLE_MUST_CHECK and FRAME_WARN to get an - extra set of warnings for problems like the use of deprecated interfaces - or ignoring an important return value from a function. The output - generated by these warnings can be verbose, but one need not worry about + - FRAME_WARN to get warnings for stack frames larger than a given amount. + The output generated can be verbose, but one need not worry about warnings from other parts of the kernel. - DEBUG_OBJECTS will add code to track the lifetime of various objects -- 2.29.2