Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2010250pxj; Sat, 22 May 2021 08:17:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp0DXuJbRKw6IvD6CUtcvYGQ4RfJw321CPbUw+ffLuwZsxvoyEbzl10o+uu4oN19XvI5sb X-Received: by 2002:a50:ec91:: with SMTP id e17mr17045655edr.228.1621696675080; Sat, 22 May 2021 08:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621696675; cv=none; d=google.com; s=arc-20160816; b=xq+PjiWsH6GLvWGoBtrgPYSU2II9yKZe3S1Gcwz3taCkbp9cuuymhI+Tz8SiHJHMLU DSrrExmNY6rzMrEeiNjbVv3wXzQL9EB1O/6QtXgG24Khxtw5dtuYwTL7Eoh0DREYGkH4 3/9iMe/Vm4QB0bCS1Xg8OOs4wniAEihSUnWNYh4TsPBaT2+PK5Gac1OEUt/VLf0u1YLb EB56r4vxD5DKEnbiCT0tmamkELZa/eqy1CYcBY9IDkEGzjONfUDsVsMfQUABlrgOYzvH o+um9vqkhSv5yjRNF+CTQtnavY9FsUcmBDI/AkvcLvFsjc1HtW+UcV/cqiQEiYbCY/DM Vl1A== 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=aHoWqS6wBA7auWs741xKAHDKHGtZ/8QwNVQ3vHvVUzU=; b=OsW+Wtx17674PmEXYimkvW933fzS7kRbKF1PIrmF5rq5OxwcOfa2jZPfePuwVQtBbj roXhEmSJ4rv7iNKvfZA1GcCfjZOcZhEgayDh+l2nsXGUycPo+UMbUmlM8zSkurYtkl/M bpvg5BGvnJfpkv49kGXcADtGOtFIrg5dIyv2oKRYv6BUq5qv1in066et4DMcyKTcGV3d 6X4iifmPGtS966WX563PSX2Ow4IWb0EcfzojTpMY/GHufBGm6QYtqpUBKDaMdQeA7FlS jn65JxblaeGZoLMC0wNljQeH4WwL2D3T1LNQo6m694pjGq59ktWxd9NErt3vKhdchZEO nJUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0DHTjS7S; 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 g9si7490854edq.588.2021.05.22.08.17.31; Sat, 22 May 2021 08:17:55 -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=bombadil.20210309 header.b=0DHTjS7S; 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 S231272AbhEVPNL (ORCPT + 99 others); Sat, 22 May 2021 11:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbhEVPNK (ORCPT ); Sat, 22 May 2021 11:13:10 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E94CC061574; Sat, 22 May 2021 08:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=aHoWqS6wBA7auWs741xKAHDKHGtZ/8QwNVQ3vHvVUzU=; b=0DHTjS7S9U1aCaxLl0zaAQ+GZi gkqH0xt5ITJJJproyTzuKh0voqLTDx706Afp/xjqt0WrLtQhQgpJDzaRYFpdg7+EbV49nfVab+gPW lGytLrSM/EKenAQLWXlfa+CrMe4P99Ou2Pei7coiJg6oTGe4BYSzGVA1m8DFSdHXB98AW0k0kaPqm hkRpchh+bLeVfX6FHHeQq98PMYlRVJHwnnsJ+YJXtjDit8B6QeKbHIsBBtSMqnZOWJ4KqVAu2yor2 tDKg6X7rWB2iWkd6wxuQs7zoeaZN1f19r2/k99JeKxpgPChvCgZCliOixelQOFZJ/7S8Z2x/sPkmT MWsElMdQ==; Received: from [2601:1c0:6280:3f0::7376] by bombadil.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lkTHv-0008c4-C4; Sat, 22 May 2021 15:11:39 +0000 Subject: Re: [PATCH] ipac: tpci200: fix kernel-doc syntax and remove filename from file header To: Aditya Srivastava , siglesias@igalia.com Cc: lukas.bulwahn@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, jens.taprogge@taprogge.org, gregkh@linuxfoundation.org, industrypack-devel@lists.sourceforge.net References: <20210522124051.12540-1-yashsri421@gmail.com> From: Randy Dunlap Message-ID: Date: Sat, 22 May 2021 08:11:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210522124051.12540-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 5/22/21 5:40 AM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for drivers/ipack/carriers/tpci200 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 warning from kernel-doc. > > For e.g., running scripts/kernel-doc -none on > drivers/ipack/carriers/tpci200.c emits: > warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * tpci200.c > > Provide a simple fix by replacing this occurrence with general comment > format, i.e. '/*', to prevent kernel-doc from parsing it. > > Also remove the redundant file name from the comment headers. > > Signed-off-by: Aditya Srivastava Acked-by: Randy Dunlap Thanks. > --- > drivers/ipack/carriers/tpci200.c | 4 +--- > drivers/ipack/carriers/tpci200.h | 4 +--- > 2 files changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers/ipack/carriers/tpci200.c b/drivers/ipack/carriers/tpci200.c > index ec71063fff76..a867906777bd 100644 > --- a/drivers/ipack/carriers/tpci200.c > +++ b/drivers/ipack/carriers/tpci200.c > @@ -1,7 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0-only > -/** > - * tpci200.c > - * > +/* > * driver for the TEWS TPCI-200 device > * > * Copyright (C) 2009-2012 CERN (www.cern.ch) > diff --git a/drivers/ipack/carriers/tpci200.h b/drivers/ipack/carriers/tpci200.h > index 2619f827e33f..e79ac64abcff 100644 > --- a/drivers/ipack/carriers/tpci200.h > +++ b/drivers/ipack/carriers/tpci200.h > @@ -1,7 +1,5 @@ > /* SPDX-License-Identifier: GPL-2.0-only */ > -/** > - * tpci200.h > - * > +/* > * driver for the carrier TEWS TPCI-200 > * > * Copyright (C) 2009-2012 CERN (www.cern.ch) > -- ~Randy