Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1199951pxb; Sun, 11 Apr 2021 10:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHN8wk6bBsbzXPkvtHNSey4/EucFM3WTwfwNEvYIhw7KXgcm/I9P+bRUu7zRFoHE+V5ftA X-Received: by 2002:a05:6402:26c9:: with SMTP id x9mr25728572edd.322.1618163236647; Sun, 11 Apr 2021 10:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618163236; cv=none; d=google.com; s=arc-20160816; b=Rp3b6AlrhmFhi0sqbhGEBzE1jNuxZMUOyUSf37uPzUbsd9tQXmYLkUs4h5uQAUpGQ3 Uu2ikXmNd7Wt8D94XS3Yzv7Kpwq0F2Pzd/Db0JgimbzY5on2UVrYH7+nQKks68BBpf64 7Uy+sOSOH9XcsE5P6lG0UctlddwFY1obG73pf+YJlpZuuU8v8pnYNfZCywxw/Uu2u4/4 BCGtreJ6VhfV5ZGByNT6j8g5mICI1ejBd/LhV03/kiRG+et71R77GeY7/Z0du3DaHxyL yItLy7Aqfx4ijAC2kfzJQpilMj/Xj8wfnzFKdPLME6QL4rrwl5Penbya4edvtoD8l2oU hYiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=OfYeXEbcZ2dQLXe32NAiMreYt7e+j2YilXYgYD7vcYM=; b=rCZy8WZ/byJO3FpWD9LMvEIbjmXbXV726PZqMIMTzAgxL9/bOhDJcij4ZTeTbu+Son ojInw7HcOkGW2GXX8fX5IXUR7P+d5NypkhsFClD9s7nkIT3n2ZJmO7VIYDqWXv5C+n+G 74+rW3T2uI7KSID/gLCFBNCEbrRdGliWXLKiIh25kdHUKFC8MLDsQiWWNj5s9bvwRr87 jmTy3VecrnCMt2lIFE/+NJGwETzznIO2HlbOzX3MqCXhouPu2bsZSny75U1kmHjJ1l6c WlM+V5JzLPGTMfmE/AqI8C+OiPCHfoy/xhogm60XW0nU4VHgP9CqgnHdC6YOeDx9VQj4 86KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=wJnQe9XD; 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 n24si6276925edd.201.2021.04.11.10.46.53; Sun, 11 Apr 2021 10:47:16 -0700 (PDT) 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=@infradead.org header.s=casper.20170209 header.b=wJnQe9XD; 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 S236176AbhDKQFB (ORCPT + 99 others); Sun, 11 Apr 2021 12:05:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235499AbhDKQFA (ORCPT ); Sun, 11 Apr 2021 12:05:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DED0C061574; Sun, 11 Apr 2021 09:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=OfYeXEbcZ2dQLXe32NAiMreYt7e+j2YilXYgYD7vcYM=; b=wJnQe9XDsqBi47Cv39rJhU6S8L q3CvSKCWWgj/BFOQ1TuwfakZGrXuGlaH8VkKR0jtDZ18aqx/eGe3MGZ8IqS2NdU37GbQDkLu3KTj2 pi/annc4J68zHWeWKa+zkN1tkviKkW/THTKhpkQalt+4vr0sSoAhPUDyE/FjdrWlrg8/FBOY1zADi gXp9BTnp58YalRmnZwApQTf8PvT1eqeyjRhKUF5n/0gpP7l458s96fJnIVtDUP0Sp8IatyhGof8Pe 84PgfgxcGbSxsA8Tu4RwnKz55gV03FmShQCOFZbzi3D9De9iXx1eRok1CwpKmUzpVWorDlQkUwD7v YOxe3RHA==; Received: from [2601:1c0:6280:3f0::e0e1] by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lVcZk-0039xe-EG; Sun, 11 Apr 2021 16:04:42 +0000 Subject: Re: [PATCH] PCI: endpoint: fix incorrect kernel-doc comment syntax To: Aditya Srivastava , bhelgaas@google.com Cc: lukas.bulwahn@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210411101508.11065-1-yashsri421@gmail.com> From: Randy Dunlap Message-ID: <42f7fe6e-6f53-5572-f3e0-0dfd0e3d921b@infradead.org> Date: Sun, 11 Apr 2021 09:04:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210411101508.11065-1-yashsri421@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/11/21 3:15 AM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > There are certain files in include/linux/pci*, which follow this syntax, > but the content inside does not comply with kernel-doc. > Such lines were probably not meant for kernel-doc parsing, but are parsed > due to the presence of kernel-doc like comment syntax(i.e, '/**'), which > causes unexpected warnings from kernel-doc. > > E.g., presence of kernel-doc like comment in include/linux/pci-ep-cfs.h at > header causes this warnings by kernel-doc: > "warning: expecting prototype for PCI Endpoint ConfigFS header file(). Prototype was for __LINUX_PCI_EP_CFS_H() instead" > > Similarly for other files too. > > Provide a simple fix by replacing such occurrences with general comment > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap Thanks. > --- > include/linux/pci-ep-cfs.h | 2 +- > include/linux/pci-epc.h | 2 +- > include/linux/pci-epf.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/linux/pci-ep-cfs.h b/include/linux/pci-ep-cfs.h > index 662881335c7e..3e2140d7e31d 100644 > --- a/include/linux/pci-ep-cfs.h > +++ b/include/linux/pci-ep-cfs.h > @@ -1,5 +1,5 @@ > /* SPDX-License-Identifier: GPL-2.0+ */ > -/** > +/* > * PCI Endpoint ConfigFS header file > * > * Copyright (C) 2017 Texas Instruments > diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h > index b82c9b100e97..80197a6df371 100644 > --- a/include/linux/pci-epc.h > +++ b/include/linux/pci-epc.h > @@ -1,5 +1,5 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > -/** > +/* > * PCI Endpoint *Controller* (EPC) header file > * > * Copyright (C) 2017 Texas Instruments > diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h > index 6833e2160ef1..c43912b1d2d0 100644 > --- a/include/linux/pci-epf.h > +++ b/include/linux/pci-epf.h > @@ -1,5 +1,5 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > -/** > +/* > * PCI Endpoint *Function* (EPF) header file > * > * Copyright (C) 2017 Texas Instruments > -- ~Randy