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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 78590C48BCD for ; Wed, 9 Jun 2021 07:39:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 600706135D for ; Wed, 9 Jun 2021 07:39:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234786AbhFIHlu (ORCPT ); Wed, 9 Jun 2021 03:41:50 -0400 Received: from mga01.intel.com ([192.55.52.88]:4080 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233673AbhFIHlt (ORCPT ); Wed, 9 Jun 2021 03:41:49 -0400 IronPort-SDR: lPjvnVmCPt9swgK553Hb395krJfGfCYgpf8jDLSYhHqoJwwZqK4l02/mogdh3IVKvDc1L95XMP fNeFuF+FE0Tg== X-IronPort-AV: E=McAfee;i="6200,9189,10009"; a="226388873" X-IronPort-AV: E=Sophos;i="5.83,260,1616482800"; d="scan'208";a="226388873" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2021 00:39:54 -0700 IronPort-SDR: AYtn74xIwP8My0IIMbt5vdLIRcpsAeU0Wcq1r9Tv+oWPyUlWLIDCE17iGrDeZRwr9pshWLHezV EL0X2dzYoaFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,260,1616482800"; d="scan'208";a="552588883" Received: from allen-box.sh.intel.com (HELO [10.239.159.105]) ([10.239.159.105]) by fmsmga001.fm.intel.com with ESMTP; 09 Jun 2021 00:39:51 -0700 Cc: baolu.lu@linux.intel.com, lukas.bulwahn@gmail.com, rdunlap@infradead.org, dwmw2@infradead.org, joro@8bytes.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] iommu/vt-d: fix kernel-doc syntax in file header To: Aditya Srivastava , will@kernel.org References: <20210523143245.19040-1-yashsri421@gmail.com> From: Lu Baolu Message-ID: Date: Wed, 9 Jun 2021 15:38:34 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210523143245.19040-1-yashsri421@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/23/21 10:32 PM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for drivers/iommu/intel/pasid.c follows this syntax, but > the content inside does not comply with kernel-doc. > > This line was probably not meant for kernel-doc parsing, but is parsed > due to the presence of kernel-doc like comment syntax(i.e, '/**'), which > causes unexpected warnings from kernel-doc: > warning: Function parameter or member 'fmt' not described in 'pr_fmt' > > Provide a simple fix by replacing this occurrence with general comment > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Queued for v5.14. Thanks! Best regards, baolu