Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1811088pxj; Sat, 22 May 2021 02:36:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/LXLzT6Yy2nqK14TrfXdgFBljzw1c8tEZtEDPc4u4KqOPKyriA1AgYvZ9Hy69w8savSMg X-Received: by 2002:a5d:8f81:: with SMTP id l1mr3816007iol.115.1621676202118; Sat, 22 May 2021 02:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621676202; cv=none; d=google.com; s=arc-20160816; b=iU7odd/C+CKoewYmyA5137H/iN23NiA4Fj9YWZUavfcuq7SgFLGbqYmFwLJUV3WxVU 8Vwc0nbX/yoeSFBjYuJ2feuS1ChvU2ucfLuH4lDyZoI6iqwoRSVT0yUpg2OwMkJ+31E3 bBlJ6Z9VBEY9KCs67mbS3CGfxt334l5ubvyue0Qq3Wf5pDr6i9Wfg0/82qgM3yf1753P hx+P0r/qIWZvq8ILHNd5F2N/czqJcjSA3dPvKR82xxeo0q7F7Fi3SgQ8vI33Rmo4P0b2 af8EaUep0rbVsN1Hx240Uhy003RIBfAl5A9XijXmZFyRnlNyVRCkD6YasXofrlV87VwG 5gKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=kFXb1ohyjhOBIU0spWQBzlo/jVFV4eWKjaZ3gj3sIHQ=; b=RoToOAvHvfPafI/VMk8fS+bersSe1QnrkJmNGBFAS2JcMLGu4l1xi7UddkLX646v2/ ADX7rB9Gt6om9mOd2pVAQzHqwD0cY3eOnXLleGRcYeAHp5rueT9cnQH0WiFQcfNKhRqA MpxafQYG+ygWnsNDVcVszI4reg9kXm4LgHzTCKkY+iLImPqEfLj/9Cmiy6diEHeIPRcE sdLnog9G+0M+TMX5jhhGaX3BCPf8Sa8mIGTtblNv92bo9h3+mqN87uKNH8o1hQxjiy9D wEpHuiCWFEU39mnPw34bhtTyV8ZUQKVK3kGiSZKUD45MrmoKS7d0QVzA12UUZK8dmMsN UGZQ== 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 q13si10074689ilg.125.2021.05.22.02.36.26; Sat, 22 May 2021 02:36:42 -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 S230168AbhEVJgi convert rfc822-to-8bit (ORCPT + 99 others); Sat, 22 May 2021 05:36:38 -0400 Received: from vps-a2bccee9.vps.ovh.net ([51.75.19.47]:51166 "EHLO ursule.remlab.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbhEVJgi (ORCPT ); Sat, 22 May 2021 05:36:38 -0400 X-Greylist: delayed 460 seconds by postgrey-1.27 at vger.kernel.org; Sat, 22 May 2021 05:36:37 EDT Received: from ursule.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id A2531C2C62; Sat, 22 May 2021 12:27:28 +0300 (EEST) Received: from philogene.remlab.net ([2a01:e34:ec42:5c70:23f3:1053:78e5:7f3c]) by ursule.remlab.net with ESMTPSA id wOWrJoDOqGBiAQAAwZXkwQ (envelope-from ); Sat, 22 May 2021 12:27:28 +0300 From: =?ISO-8859-1?Q?R=E9mi?= Denis-Courmont To: Aditya Srivastava Cc: courmisch@gmail.com, lukas.bulwahn@gmail.com, rdunlap@infradead.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Phonet: fix kernel-doc syntax in file headers Date: Sat, 22 May 2021 12:27:28 +0300 Message-ID: <52313028.m8L9TnScQ9@philogene> Organization: Remlab Tmi In-Reply-To: <20210520182159.31462-1-yashsri421@gmail.com> References: <20210520182159.31462-1-yashsri421@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le jeudi 20 mai 2021, 21:21:59 EEST Aditya Srivastava a ?crit : > The opening comment mark '/**' is used for highlighting the beginning of > kernel-doc comments. > The header for include/*/linux/phonet.h files 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 include/linux/phonet.h emits: > warning: This comment starts with '/**', but isn't a kernel-doc comment. > Refer Documentation/doc-guide/kernel-doc.rst * file phonet.h > > 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 You could just as well remove the stray "file XX" lines but OK. Acked-by: R?mi Denis-Courmont -- R?mi Denis-Courmont