Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1208676rdb; Fri, 22 Dec 2023 20:24:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcLNel1SjTvlaN1ladIz1TgPn4scq7FtlSknW3ZwMR4z84IJ+lie0KQXBcCeZNvm1EynSH X-Received: by 2002:a05:6a20:1616:b0:195:57f1:3464 with SMTP id l22-20020a056a20161600b0019557f13464mr1221463pzj.28.1703305461832; Fri, 22 Dec 2023 20:24:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703305461; cv=none; d=google.com; s=arc-20160816; b=pz6n4Y0Q3lkhHw1LR0XFITi7zV/V8hg5XQs6TdGUIWZyTW6ZXjplVYBE23kcSH+Qsv mcd5vqG2+s/j/Blk2tqticz7bUe+L60z86sfQnyBPs0XjU/9+aPdOO0MiSv6cxE6pdEA O7WdEuiq5O6eUe1TkpMYLhm4ewbZrX9H5XJCUYoRLM2Ec8CtdyTs0qJKMYlzhTKcnhz1 al4jmsKlFGspv30Us9HKlg2d5hWaae90uWEi6tuITIMAat1Qmqi5mP5Il+mpBxNa4dUW mlGgJmYJWJBoAmsujMPC2xbcaRUtEjCFhPEOYgID1EBiM0Cri1Xu6Oe+VsGjCuuDSoZH wVGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=/nDUTaF2Haha1knmP1FS+N8wAbIojrAqSVH9+4HCMLg=; fh=quOhZAtQU9j63ryqK/QsKnyE7mOmagsPZBAjSrfkC4s=; b=c/NyVhfgeETHVfWnJ0UvgPlcpVp98tG0t+N33Yl9DprkoqDB/kTZT3jB6sBblHjKO4 qgTIcoo1rBxvHWhLepydYqO7R6k+UZpx3bO5vV0gyd0Iy7q5Qp+MFeptrA93h6QUTHuS 1tV3wmP9B/pCP+0sRO8QF8HpauNMxS8opGlsakdrehF4W07dYU5c8CckE8QW/H+iGIoY vM7SWYwwD4vcGvrfRowSFglReUnmELzcAxLgiXAAE3kUkgvUxAl1GiuFH66AML0toIib 0ojW0eabRNm96wV0kL3hgL9yJSeg1GXIXJnpcFOhT4DMw12Itf/jqF7CFEluHfKTFD4t v75g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EWn5DSx6; spf=pass (google.com: domain of linux-kernel+bounces-10284-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10284-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l9-20020a63ba49000000b005ce05e5d57asi83640pgu.660.2023.12.22.20.24.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 20:24:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10284-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EWn5DSx6; spf=pass (google.com: domain of linux-kernel+bounces-10284-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10284-linux.lists.archive=gmail.com@vger.kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7AC53B23A69 for ; Sat, 23 Dec 2023 04:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5FC94A3E; Sat, 23 Dec 2023 04:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EWn5DSx6" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1028417E4; Sat, 23 Dec 2023 04:23:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=/nDUTaF2Haha1knmP1FS+N8wAbIojrAqSVH9+4HCMLg=; b=EWn5DSx6ldKRSKiZpfFSJSjED8 s+q6sqErHigArGVSAXrNbpJBfqmNoK6k817MY8JP/XztDXLCgcy6Qmp3n95edXFChD+IW7rSL7/GQ gpvpirNEeUeEUWhCgfSpF0X2NnTFi3exIPpf753/AnkIWSY5mRkvqrQhYJLLifTg3QWojViM+atho 4kWkzXdJVDI6c53tzBSm6e/85LzDGEBYY1HA1lIekPdg62oEus8RPhA5Sy6S3QSbh+0UmJMqClIm8 3JxSUfqSGyJZBV9/EJXzV4sDQHgAQqnk+pVni0F7QI2H0TG/iU+A6jqsaWWnSMfflYjQhUmUglBOP XO7VX4oQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGtXo-007Koz-36; Sat, 23 Dec 2023 04:23:24 +0000 Message-ID: <29ef2f6b-f184-4913-a47d-32b175a2bd6a@infradead.org> Date: Fri, 22 Dec 2023 20:23:24 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] kunit: Fix some comments which were mistakenly kerneldoc Content-Language: en-US To: David Gow , Shuah Khan , Rae Moar Cc: kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Brendan Higgins , kernel test robot References: <20231223041858.1991349-1-davidgow@google.com> From: Randy Dunlap In-Reply-To: <20231223041858.1991349-1-davidgow@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/22/23 20:18, David Gow wrote: > The KUnit device helpers are documented with kerneldoc in their header > file, but also have short comments over their implementation. These were > mistakenly formatted as kerneldoc comments, even though they're not > valid kerneldoc. It shouldn't cause any serious problems -- this file > isn't included in the docs -- but it could be confusing, and causes > warnings. > > Remove the extra '*' so that these aren't treated as kerneldoc. > > Fixes: d03c720e03bd ("kunit: Add APIs for managing devices") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202312181920.H4EPAH20-lkp@intel.com/ > Signed-off-by: David Gow Reviewed-by: Randy Dunlap Thanks. > --- > lib/kunit/device.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/kunit/device.c b/lib/kunit/device.c > index 1db4305b615a..f5371287b375 100644 > --- a/lib/kunit/device.c > +++ b/lib/kunit/device.c > @@ -60,7 +60,7 @@ static void kunit_device_release(struct device *d) > kfree(to_kunit_device(d)); > } > > -/** > +/* > * Create and register a KUnit-managed struct device_driver on the kunit_bus. > * Returns an error pointer on failure. > */ > @@ -124,7 +124,7 @@ static struct kunit_device *kunit_device_register_internal(struct kunit *test, > return kunit_dev; > } > > -/** > +/* > * Create and register a new KUnit-managed device, using the user-supplied device_driver. > * On failure, returns an error pointer. > */ > @@ -141,7 +141,7 @@ struct device *kunit_device_register_with_driver(struct kunit *test, > } > EXPORT_SYMBOL_GPL(kunit_device_register_with_driver); > > -/** > +/* > * Create and register a new KUnit-managed device, including a matching device_driver. > * On failure, returns an error pointer. > */ -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html