From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0F693D86; Wed, 20 Dec 2023 06:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YWPKOw9i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 935C4C433C7; Wed, 20 Dec 2023 06:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703053828; bh=VH/9MOpR3fFnxqYouqNXKsbQTywKgOvD11JxAGjn4ds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YWPKOw9ifRhFdbdqq4B4WEqoOXgNLkZP4Xfo35LK1h/pQChwspUPWIBz5lamqV1Nv b1NPU2gnYFHzl7sMYjfS2r3t4Mwj7utyznvZZwyPYYbOCGPk5F9mnar/tQrljiZ+4C SMhYFsOZdn0DPo3pS+/SSyWdBJ8sEqjKsLRNMJOE= Date: Wed, 20 Dec 2023 07:30:25 +0100 From: Greg KH To: Muhammad Muzammil Cc: rdunlap@infradead.org, corbet@lwn.net, gustavoars@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] scripts: kernel-doc: Bug fixed for erroneous warning Message-ID: <2023122059-wick-ransack-1cfb@gregkh> References: <20231220062446.14511-1-muzammil@dreambigsemi.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231220062446.14511-1-muzammil@dreambigsemi.com> On Wed, Dec 20, 2023 at 11:24:46AM +0500, Muhammad Muzammil wrote: > From: Muzammil Ashraf > > kernel-doc: fixed erroneous warning generated by '__counted_by' > > Signed-off-by: Muzammil Ashraf > --- > scripts/kernel-doc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/kernel-doc b/scripts/kernel-doc > index 1484127db104..ea9688df0e93 100755 > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1661,6 +1661,7 @@ sub check_sections($$$$$) { > } > elsif (($decl_type eq "struct") or > ($decl_type eq "union")) { > + next if (index("@_", "__counted_by") != -1); Please fix your editor to properly use tabs, and to set them to the correct 8 column spacing. thanks, greg k-h