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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 D6D06C433DB for ; Fri, 19 Feb 2021 19:55:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 70EC864EBD for ; Fri, 19 Feb 2021 19:55:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70EC864EBD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id EE06E6B0071; Fri, 19 Feb 2021 14:55:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E8D0E6B0072; Fri, 19 Feb 2021 14:55:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DA7A76B0073; Fri, 19 Feb 2021 14:55:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0146.hostedemail.com [216.40.44.146]) by kanga.kvack.org (Postfix) with ESMTP id BE5976B0071 for ; Fri, 19 Feb 2021 14:55:12 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 7ABCA180B7E00 for ; Fri, 19 Feb 2021 19:55:12 +0000 (UTC) X-FDA: 77836071264.20.C51AC86 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf03.hostedemail.com (Postfix) with ESMTP id A2988C000C52 for ; Fri, 19 Feb 2021 19:55:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id DF09664EB3; Fri, 19 Feb 2021 19:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613764511; bh=xwrDwqcXQcnyDYNRRE8hM8nwa9a4TUFTAnsu9L1oums=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LZYhnKnYjUHf+OYoiB5cpPtvOO9uBPM5hBtfZcZbLbokfcFC1SbqSI4PGh+h3zzyQ rz71Fu7N08fztKDe1365/CsUtO4v1ba2G3tU+ahAVDCNY6CUONCcsciMIfoWr9OR/7 g8JKemPbH8RUdJzMOzozMxUC1rUd7wLj2wRQJJzH1CfWvn2OtDRDsYmqhzIRfejy7F g+sx6nJ1843giFNWIl2cHn7f7VjJxoq0wdAsptM4df7GJUK+n+QtHE79W5GCi0U5kx FLKSa5ShMoVgvsTWFZZaz+Km7ycgxRGQDxvjlT6jooKWNVxNTQl7XV0YtAVAhps3AJ JPwyM3N4U4Efg== Date: Fri, 19 Feb 2021 12:55:09 -0700 From: Nathan Chancellor To: "Matthew Wilcox (Oracle)" Cc: Andrew Morton , linux-mm@kvack.org, Mike Rapoport , clang-built-linux@googlegroups.com Subject: Re: [PATCH] mm/gfp: Add kernel-doc for gfp_t Message-ID: <20210219195509.GA59987@24bbad8f3778> References: <20210215204909.3824509-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210215204909.3824509-1-willy@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: gucm1wdk3gsutz8ojwowo5utnqqgssqa X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: A2988C000C52 Received-SPF: none (kernel.org>: No applicable sender policy available) receiver=imf03; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1613764509-732968 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000151, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Feb 15, 2021 at 08:49:09PM +0000, Matthew Wilcox (Oracle) wrote: > The generated html will link to the definition of the gfp_t automatically > once we define it. Move the one-paragraph overview of GFP flags from the > documentation directory into gfp.h and pull gfp.h into the documentation. > > Signed-off-by: Matthew Wilcox (Oracle) This patch causes a clang warning in basically every file on linux-next now: include/linux/gfp.h:20:32: warning: redefinition of typedef 'gfp_t' is a C11 feature [-Wtypedef-redefinition] typedef unsigned int __bitwise gfp_t; // repeated here for kernel-doc ^ include/linux/types.h:148:32: note: previous definition is here typedef unsigned int __bitwise gfp_t; ^ 1 warning generated. Cheers, Nathan