Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4702535pxf; Tue, 30 Mar 2021 14:59:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLBYxWzFeuLKvbLDoK4OxkUdfDvBX2CimyAcLIyCXhUFfFi9zmv1oi+n7rXxjh1hxz02bV X-Received: by 2002:a05:6402:42d1:: with SMTP id i17mr34940867edc.131.1617141587699; Tue, 30 Mar 2021 14:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617141587; cv=none; d=google.com; s=arc-20160816; b=bacq7pgYH49iMpAykywpS9pYF+DxGVqyCsl4/7Nxsg+yI05opvNDWnSqhZ2eqgEtCm cSD4OsJmgEW4XA4pX94EfU41uDi3KUG2ZJpe70UCQHXdWGKg+0Qk/RS0im29sVK+ueGD On5tQM498P5GCLTNzrSWRAV5vmWivdUUfvoKmXe+G8zo8PVTkT0YqqDGcc+whGmyvKux ViBfUe3L0y+fpMFAEhd9nnQutX4DyYA4ulsu0Vz5YTA0wuNcJ2e0D5Aj/Z30aBefhURq ZOGo8Iil0HhnnaR+rRKxmuTRDq9oFYftl9JgfGtFJhgbFHekDM4vJiGaTMeHv4b6zV13 t2kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Sz7RxgzgiJfApD7YhG1xD08UIOd/+TQeMMEcmEylScw=; b=GesC8zhjVXKl+6kNVIaEqt6NWYVfZtupE149cbgzKR94XuC0CrICRoWU9fqJJqnvsM ZhmUN+WxM3YPEdU3e25vy36q9bhSebk94olvdssdr7Y60oRbWaNbi1AcIG6x9Vc8Qgwm yrrjL1XqJpSrMd2o1J4KUm/R+Lth31peTbYpXgvHJ01elJji9aStO87driHmIHwUhHSW d0/zQIF0AUxQp3VsEzEAzlCbIRCjWenCKn4smFo418dejdAW88uBbMhrXQC/75ZDnT0g voYVCk3LRQgt5p6jB6kC8HxbRE2QoBb9IXAUFEa/METuS0MAVpShOt4fxGRw3cIxcw6r /U6g== ARC-Authentication-Results: i=1; mx.google.com; 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 o13si89037ejb.114.2021.03.30.14.59.25; Tue, 30 Mar 2021 14:59:47 -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; 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 S232429AbhC3V6U (ORCPT + 99 others); Tue, 30 Mar 2021 17:58:20 -0400 Received: from fgw22-4.mail.saunalahti.fi ([62.142.5.109]:27195 "EHLO fgw22-4.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232805AbhC3V6K (ORCPT ); Tue, 30 Mar 2021 17:58:10 -0400 X-Greylist: delayed 962 seconds by postgrey-1.27 at vger.kernel.org; Tue, 30 Mar 2021 17:58:10 EDT Received: from darkstar.musicnaut.iki.fi (85-76-72-22-nat.elisa-mobile.fi [85.76.72.22]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id beb0906a-91a0-11eb-88cb-005056bdf889; Wed, 31 Mar 2021 00:41:56 +0300 (EEST) Date: Wed, 31 Mar 2021 00:41:54 +0300 From: Aaro Koskinen To: Aditya Srivastava Cc: linux-kernel@vger.kernel.org, lukas.bulwahn@gmail.com, rdunlap@infradead.org, tony@atomide.com, linux@armlinux.org.uk, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: [PATCH] ARM: OMAP1: fix incorrect kernel-doc comment syntax in file Message-ID: <20210330214154.GB120746@darkstar.musicnaut.iki.fi> References: <20210330205330.26345-1-yashsri421@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330205330.26345-1-yashsri421@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 31, 2021 at 02:23:30AM +0530, Aditya Srivastava wrote: > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for arch/arm/mach-omap1/timer.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 OMAP1 Dual(). Prototype was for OMAP1610_GPTIMER1_BASE() 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: Aaro Koskinen A. > --- > * Applies perfectly on next-20210326 > > arch/arm/mach-omap1/timer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap1/timer.c b/arch/arm/mach-omap1/timer.c > index 97fc2096b970..0411d5508d63 100644 > --- a/arch/arm/mach-omap1/timer.c > +++ b/arch/arm/mach-omap1/timer.c > @@ -1,4 +1,4 @@ > -/** > +/* > * OMAP1 Dual-Mode Timers - platform device registration > * > * Contains first level initialization routines which internally > -- > 2.17.1 >