Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp377423rdb; Tue, 19 Dec 2023 22:30:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHC3vTdk07PgQ/tKFJDN3GtD8q0iRMmn09npo+RogITDMOHcC0CbBzOFejADZmjt6XlxthO X-Received: by 2002:a05:6808:159e:b0:3b9:e0c3:c1a2 with SMTP id t30-20020a056808159e00b003b9e0c3c1a2mr21667419oiw.9.1703053833790; Tue, 19 Dec 2023 22:30:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703053833; cv=none; d=google.com; s=arc-20160816; b=Bt9ajWepIK56o76JDyTPbCT7uy7jG+XgNY4HIWcPvoU6HXulXwUshOJE3EEgS1PTur KqkskoiVz6FIGk+jn14Jxv69ZWvuopBmQxXTpAYWPKrUWowXrsfC99zz4yV/b6FukN8+ Ks1q9YK3FCMcrfEqUq2VpMCJCbKkBQ2egUeDe3IAV8EdvZ8o1aEzXIBkSQT0iV/8KJPo uHJpDFRFkahhF4pUn1ZFJ6xCS49F0XCJfUCjkqrJEBjRbs8veZbj2pUTVl0qEXP9RrDD dWVSDOoUU1ldYKW7cmZi3SkbCUKPSpHi7Jppt47Q3AAfpwQaD87o/thIY7TTABQS52bF Ls5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5Ca9SUI4drkFzG8+8qG+ohBeVOOya1bT5DtlVCWr3p4=; fh=OevGhiHxwCrMDTcPKnwKfBJAsTn/eJIZOqzGw2eTtrM=; b=lr/AG5xpgMPWBMeI/OjTrA/rTbBvyGf63uVUIl1MB9hxJPzYJw7D/QZnGlp6/1x9Oi e2wiYZ0Y2blWjLqcfC23xasShLe7pRqVMdV0tQcErfFZ8N/Iu1OTcCteMTgeVOHRQYAT +g3HyVBf1PJlAmop8QPYxGVZgfD9uB6wcfczpyjaCz00c9b0hZpMluueT1uXbsxk9+sE L4lqGusI5hwVlTiH+zXCLKldun+H0VNE0iNDcopn9MxAV7BeFkwp8IzLzagynMqFImTG 1x1ggoVLO7YFRuxqhxATKOUh8Y8CYjZtJLAiIoHbfKWwdCWAkqjQB0X/UPNUF2FAXE5C q4ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YWPKOw9i; spf=pass (google.com: domain of linux-kernel+bounces-6422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h13-20020a056a00218d00b006ceded50592si20251454pfi.277.2023.12.19.22.30.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 22:30:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YWPKOw9i; spf=pass (google.com: domain of linux-kernel+bounces-6422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6281C282437 for ; Wed, 20 Dec 2023 06:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83FAC134BE; Wed, 20 Dec 2023 06:30:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YWPKOw9i" X-Original-To: linux-kernel@vger.kernel.org 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) 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