Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3740160pxf; Mon, 29 Mar 2021 10:05:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8NuW+211vzABmRnC+ykLvelFiG0Iv3skHw0hdbIsj+OeQ7AlWeyFpeE3s6R4aLLWfcuBd X-Received: by 2002:aa7:dad7:: with SMTP id x23mr29220028eds.292.1617037508613; Mon, 29 Mar 2021 10:05:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617037508; cv=none; d=google.com; s=arc-20160816; b=vmy7fki1u9lFkv5axOX8hAbFQ1iCjPJ7AKqay8KGvTGorgLsSUzP3nWRODYTz8nIKa 4LOT47sxTIcqVbCDU/kfAtVKHy9Zdx7Iu0ndkqa5Km28IV/RZc2iyX2Jqob7sFvRBZOR /aohhGGbYpnllzo0WMmFLBC3TapNihT6/Uv5s+vVCrPghECP0lWDn8X3UQ55cGXEBtcj /0HGlrp/tqKKpQG5Iqcey9xYjOGR3y8jclTY44+hkbTWyzvpltM8rCju8lWFLr2qLmrc B16Gk8gckTppTdM+UbCayp1jDetw10H1hLMZ5gQAfScVwsHcaX1A5xBy9i9ir2Jk10rH lVsQ== 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=RZZt36Qkr4ZGYVn/npKXJ9AEqctFyxdqSfZnmEm2DlQ=; b=QqqjSUMXVxhUxuXCMGpi5VK/Xvmo8w3LibBoRCPMSNavAEdPCfb/1TflnNHGEKehUS ftFGssXDeH3OVK0Bs0vhDrRjlEmuf+5UpN7AzC5PREmVYpkRJgj+E6sTp6NFXyc3U+0f 2BIXGu44SQYApXFLiaAQLQJv3bRFRn2UH9iohgtFH3Aib4L2P+DvuDIMTa/4CJA4tuRr nZIRMYo2hpbKcvMnJl65gKmlvxdi4i7DlPv/op7jLe+KLGKEnf2pMqtFqGyNsJoU4MkL Cl/SDnJ3uLYA/4oT/0wVJ1g2kt+umuzSOWJNgRdt1cdrr1EvZ/kz98c02f0MgvST8k+D 6Tng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=e8xb70gP; 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 t24si13714848edw.402.2021.03.29.10.04.45; Mon, 29 Mar 2021 10:05: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=desiato.20200630 header.b=e8xb70gP; 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 S230394AbhC2RCi (ORCPT + 99 others); Mon, 29 Mar 2021 13:02:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbhC2RCg (ORCPT ); Mon, 29 Mar 2021 13:02:36 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B832CC061574; Mon, 29 Mar 2021 10:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=RZZt36Qkr4ZGYVn/npKXJ9AEqctFyxdqSfZnmEm2DlQ=; b=e8xb70gPBqR62UWA7TtilQ6Jdx srXvv+EqQ/OCuTXKz/hckUsYJCkPTjS2DVedY/bAVrJVYo8zVcu6k2DJWQJA2+tRFZwAnc8ZZJ2dG ooTKP6HGOQVp5lnPWk/KS4+4Oy5BlMMCRKkTrCg34IF3NtL+FWg6J4wGXhpToSCRmiRaI2dkNjg3W K+rcAqLjxr8TM1bXhSAha11hbVaQvBtqAIperKhH71Rh+KshDKhyaQMbgEvpNNGfOXQ9TvAY0K1OQ lEBNZWnQ19ycxqa1pHLc+10zxHgTBkDb8m0iQurWmqjQ+/JC6QuqBdTjBT4SLWyrTfSAV0W5YpgQs vwkxLsCA==; Received: from [2601:1c0:6280:3f0::4557] by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lQvHY-000pWI-SZ; Mon, 29 Mar 2021 17:02:32 +0000 Subject: Re: [PATCH] usb: dwc3: imx8mp: fix incorrect kernel-doc comment syntax To: Aditya Srivastava , balbi@kernel.org Cc: lukas.bulwahn@gmail.com, gregkh@linuxfoundation.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210329142604.28737-1-yashsri421@gmail.com> From: Randy Dunlap Message-ID: <2c4c916c-6395-9df2-7e57-40af4d5faa3b@infradead.org> Date: Mon, 29 Mar 2021 10:02:22 -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: <20210329142604.28737-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/29/21 7:26 AM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for drivers/usb/dwc3/dwc3-imx8mp.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: expecting prototype for dwc3(). Prototype was for USB_WAKEUP_CTRL() instead" > > 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 Thanks. > --- > * Applies perfectly on next-20210326 > > drivers/usb/dwc3/dwc3-imx8mp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc3/dwc3-imx8mp.c b/drivers/usb/dwc3/dwc3-imx8mp.c > index 75f0042b998b..b13cfab89d53 100644 > --- a/drivers/usb/dwc3/dwc3-imx8mp.c > +++ b/drivers/usb/dwc3/dwc3-imx8mp.c > @@ -1,5 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0 > -/** > +/* > * dwc3-imx8mp.c - NXP imx8mp Specific Glue layer > * > * Copyright (c) 2020 NXP. > -- ~Randy