Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4678730pxf; Tue, 30 Mar 2021 14:10:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5O1NnFnrMxucf31EF97vpDXnevO8IL2Z3mugjq02PbMPXbmJfVU0meMJZKusKj1J0nfyf X-Received: by 2002:a17:906:68c5:: with SMTP id y5mr43185ejr.371.1617138608545; Tue, 30 Mar 2021 14:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617138608; cv=none; d=google.com; s=arc-20160816; b=lXxVBp8fYIeSvgKK7HFBaTzrUyGxxcXB4oQaMU6B4K/PRrhi0BUq1Y4gBgeGpMP9bg 8ux6V8Y1zkALvtbNAs9Nx8VAfyGAO5Vl0MTUchPLt1UFOWSY+35QC1R0HrgmSKhRlZO/ K/Rp4XyndZq93YMxl+DBAEh/EOmYSvhhFw3kmgsbSa7hthxntAGXzUEQNu8FxL71OIPw 7j49DlG3wTl4zFDjVmFOvUUsdOgWzMXqqQjEi/HBZObtz6vxNS/61UPlr/ZjqVECLVpV D1btL7UUxddVJ8GCVwdqbUtQ1C17h9VJmUFE7uQsR634DSS1tAXM2zqRAxmJHNLRWA8G 4+pA== 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=n6MY9RJyc519hB+O3xAcfsPoosUq/Ub7s3jI4orlYqg=; b=j/h0Y01ECydH758sDWjApWq269qd2x4gy6ie+pzPJTLxTC62nMW6dn5Iaqn4JRMr8H Os1Vzvd1iklhu8S4uc9zgL7B3aclB32RZbmMuS9L7p3Ezdips321Uy3ykh5/HuIkmUab YU0vWnrnLh4NBy1UFEdC+A513CHb/el8QeKrTDR/0IScN3LGQyYSu+fYasKvuMxk1M2V Vt3LZ9C7dbC0ahapLy3y+lhOhgPM60pSiZz5qfqqj8EUl6PH0E2/LqkdUXYM5w8Q2AgF SaRclBiRqJxLzpzASntNvWIVBNXvm4U90AoboMtvIuANg2SFFA3IoVtegF9BO21encDY /5tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DGMpjjZd; 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 s20si16156779ejx.652.2021.03.30.14.09.22; Tue, 30 Mar 2021 14:10:08 -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=DGMpjjZd; 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 S232539AbhC3VFg (ORCPT + 99 others); Tue, 30 Mar 2021 17:05:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232492AbhC3VFd (ORCPT ); Tue, 30 Mar 2021 17:05:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D3EFC061574; Tue, 30 Mar 2021 14:05:33 -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=n6MY9RJyc519hB+O3xAcfsPoosUq/Ub7s3jI4orlYqg=; b=DGMpjjZdEM899ZiaIkxW/6v/64 LKO23qZZwq5b7yd2zn8sTHoVyQMSEdX3+LFh/A6Y1bzYh1oN82dXRe3tqL3duDQAXVl1B3Y3/af/o 7oi9QreFC2VfPwvG4vKkX49lTwYSLNfBaXSSdOjZxEyKXwaTKzAEgIwp2R2Wc/fjjU3ifUpXUNmUr 06KP2XDCy+ufVBIuIcl2uxbOvrodIeFTrDPzDRZqpoBkB81BtBIX83eqyw/L2pH0ezHQwSisj+L4j g6obsVdTQY+srFsKrkMPB2+fKxPdXw3MmMavevyTCCDcT/FP2ueEZtpc/aMHS4pgPv0dW3lX7uP43 ctyMm7TQ==; Received: from [2601:1c0:6280:3f0::4557] by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lRLY1-003bdb-Fy; Tue, 30 Mar 2021 21:05:15 +0000 Subject: Re: [PATCH] ARM: OMAP2+: fix incorrect kernel-doc comment syntax in file To: Aditya Srivastava , linux-kernel@vger.kernel.org Cc: lukas.bulwahn@gmail.com, tony@atomide.com, linux@armlinux.org.uk, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20210330205908.26800-1-yashsri421@gmail.com> From: Randy Dunlap Message-ID: <553c1956-d6fa-0540-c3d6-c2aa59d8ccd7@infradead.org> Date: Tue, 30 Mar 2021 14:05:08 -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: <20210330205908.26800-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 3/30/21 1:59 PM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for arch/arm/mach-omap2/omap_twl.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 warning from kernel-doc: > "warning: wrong kernel-doc identifier on line: > * OMAP and TWL PMIC specific initializations." > > 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 Acked-by: Randy Dunlap > --- > * Applies perfectly on next-20210326 > > arch/arm/mach-omap2/omap_twl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c > index a642d3b39e50..d4dab041324d 100644 > --- a/arch/arm/mach-omap2/omap_twl.c > +++ b/arch/arm/mach-omap2/omap_twl.c > @@ -1,5 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0-only > -/** > +/* > * OMAP and TWL PMIC specific initializations. > * > * Copyright (C) 2010 Texas Instruments Incorporated. > -- ~Randy