Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2009679pxj; Sat, 22 May 2021 08:17:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw59V2UZFdqPs+LjLRp56yD4Xu3FtrfZaitYDufh6ASUiCRw4ooI8ZCRbOVOb27rR0oLSNX X-Received: by 2002:a6b:7d4b:: with SMTP id d11mr5454870ioq.161.1621696621272; Sat, 22 May 2021 08:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621696621; cv=none; d=google.com; s=arc-20160816; b=OyjXOl2ffCxasPy/xeswUxf+IAJgHQ6Kc3Ann5W/NMwDGZSsHBKkN+k4qmvE85dIsW Syk/lZbbP9RYHXPPlg6YpVh2nyhaxQOsWqa3k6CKtGUFyo6ilbca656dr14FdxbtUP1A tquEuMK6HxEQtTod/XgFx2qunvl0xcuIVl8rqMzVDcEZBPCEymlqYJqgVXc9pUk0uO5Y rpNosZ1PA4mBOqBFDUwwPwMK2wzgUWIyVUDjYdTFXUGxRDiCP1D30n7CaqBB0lXO/Yc1 tJCyvUYvGULD8e19UVQSZ1b+HTlm33WGluCyWJDeT/kSrTJsq4djcJC76SnglhW3PHb4 ++cw== 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=M8xEYJUOS1PH8zqwRp4HnULXuuhN/mYcj4cUJQVCOX8=; b=NwNjk4fugE4bm85dcNkjGBlGHHTbyU4Ub1AeEPURQ4WPj9TRL4noj+rMuWiiPFM9Vr DKL9ZX87wdpBys+5svvdrsYJUrp/CXHPk1b/4ofFt3WMhh+DHMlBX1o+dNWUFz6zVlzG pa4BXgLe7Pbm5g0OjZtFiFpn9afBDSIqzwiFRbI5BXse2jKiflGmM5BRzQY7HkxAhENc GPGkxJPGqlyleEnttmi60CnMsE577J0484rEm1PZSuKR/6IEug0sTbr4z94fcsOJBS6n T/Ck8j0T5fxnLdGQmcpzPLawMj42tvsBJfSZ93+yXmMe3JltxUcL6WaRnYbuThm5lymg vtpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=LnPT1shA; 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 y19si7991953jap.30.2021.05.22.08.16.47; Sat, 22 May 2021 08:17:01 -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=LnPT1shA; 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 S231215AbhEVPQc (ORCPT + 99 others); Sat, 22 May 2021 11:16:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbhEVPQb (ORCPT ); Sat, 22 May 2021 11:16:31 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04F3FC061574; Sat, 22 May 2021 08:15:07 -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=M8xEYJUOS1PH8zqwRp4HnULXuuhN/mYcj4cUJQVCOX8=; b=LnPT1shAR3Mz03jGrAq1VIYXDy wTIBxj+XN+tZ+tm3MFi0vs28hDbfUOGVK5k+GuCpdmM7nq1tDLRp8uorsCO//5d7VQq9JcgeEFuCV jbN9o4lXwLL/Tk0eZV1XjQ9GFxYamuRUQY5oSt1xGLmIkGXMnTlFD8yrRUl7kuxuGayIn1JdMHOO7 1tp8IASsKV+YP/Itu4JI+2SrmNSW1fU9QTV2hi4ZCiu8c0AQgfFF9bvaYNqczbePgcKwLp8Bm7acK 45CGZdU6/i3B2+Ur82wgfAFpxmdD+s5unpQCJBEte4O+CUmAOfBKzuNaTFQgPM7oYOKfOA37qwm37 xXkiZVzw==; Received: from [2601:1c0:6280:3f0::7376] by bombadil.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lkTLG-0008dF-Em; Sat, 22 May 2021 15:15:06 +0000 Subject: Re: [PATCH v2] f2fs: fix kernel-doc syntax and remove file name from file header To: Aditya Srivastava , jaegeuk@kernel.org Cc: lukas.bulwahn@gmail.com, chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org References: <20210522114351.9538-1-yashsri421@gmail.com> From: Randy Dunlap Message-ID: Date: Sat, 22 May 2021 08:15:05 -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: <20210522114351.9538-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 4:43 AM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for include/linux/f2fs_fs.h 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: > warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * include/linux/f2fs_fs.h > > 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. > --- > Changes in v2: > - Remove file name information from header comments, as suggested by Randy > > include/linux/f2fs_fs.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h > index 5487a80617a3..b5a081aa86c4 100644 > --- a/include/linux/f2fs_fs.h > +++ b/include/linux/f2fs_fs.h > @@ -1,7 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0 > -/** > - * include/linux/f2fs_fs.h > - * > +/* > * Copyright (c) 2012 Samsung Electronics Co., Ltd. > * http://www.samsung.com/ > */ > -- ~Randy