From nobody Sat Dec 27 05:10:24 2025 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E4521373 for ; Sat, 23 Dec 2023 04:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lLE0ntR+" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-5e8d2c6903dso42012867b3.0 for ; Fri, 22 Dec 2023 20:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703305144; x=1703909944; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=yzOnnfcizg793z1bTTo1OJr4lB84vx2e8wyRTapkvIs=; b=lLE0ntR+zEWFdzWCvjjUJmVDp9z8t5fnIdFrV38f2FiThoAvJBLHryywXJXO5+qXac N2uITMudGV9tdb5iVqLmidfUWAs4mMlV8HOW17lXU1YOmimXeyA6K6EiSpIP/pdtXNls feZp0uUeBwsEX8VLe8DYryVLIxVmv4uyZdPLnArjd4yfSXMnjysjAj+bFxaukaDaNQ1X Q9wbMkJjyehQcmwv1zGiH3viASULLZSOWZhPVzTaaMBUMFGTaH6yKtNo5DP3Z+LziY0S /wzqASgCIXrEPu7XoksvdDZsvZqLH/8po5kJptlXZm2K2Y514ppbcXFViBliLIyQIdoG WK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703305144; x=1703909944; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yzOnnfcizg793z1bTTo1OJr4lB84vx2e8wyRTapkvIs=; b=tMt8CiOAmulq1wQ6AkPS6JerLFh6oofCwT8DwvQdkUs4Wj4unBNRlUrvDKgOwosY2t ff55eDmxlHoA8EPytjzQJhxB457I7lAcTUtdAH4e/BCstBWxTtxGnCGvmYtqPM4oBuCs zs8uoB1TrQVS3inl5FILE7CCr27rGWl4n3pwntvhwd/nQfJgTy9EEx9no2ceZPZ8ldqr rRycLbXKMR6nWR5njqBEK6XuZVOWBf0zh5f3e2JdXV2hCUL7tXk3COF8Q7aJDSx7r0iW NvLhpL9LWL83yMM15Zs95awqtl2yNYWBXMo1qhqgqbZm3PuU6S1OESOnsnbsnsgMN4yb ISmw== X-Gm-Message-State: AOJu0YxAsPlUgV19s4t6PvNlCGyRdPcSzgSF6eNLfZqOSbLoM7Cuxmuw TIuIfLVqDKen0OPakRqRWpoNwJETF/a9IwDnUxa0 X-Google-Smtp-Source: AGHT+IHGponKp0XQTyzs9vH3r6ydI9jS3rtBdIKJ69/XZfN3KnpaJcoZkLX2kT/Wy5dYTgSdwfJ+hALF20xOPA== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a05:690c:3389:b0:5e8:90de:db6c with SMTP id fl9-20020a05690c338900b005e890dedb6cmr1246726ywb.1.1703305144116; Fri, 22 Dec 2023 20:19:04 -0800 (PST) Date: Sat, 23 Dec 2023 12:18:58 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog Message-ID: <20231223041858.1991349-1-davidgow@google.com> Subject: [PATCH] kunit: Fix some comments which were mistakenly kerneldoc From: David Gow To: Shuah Khan , Rae Moar Cc: kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Brendan Higgins , David Gow , kernel test robot Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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@int= el.com/ Signed-off-by: David Gow Reviewed-by: Randy Dunlap --- 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)); } =20 -/** +/* * Create and register a KUnit-managed struct device_driver on the kunit_b= us. * Returns an error pointer on failure. */ @@ -124,7 +124,7 @@ static struct kunit_device *kunit_device_register_inter= nal(struct kunit *test, return kunit_dev; } =20 -/** +/* * 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); =20 -/** +/* * Create and register a new KUnit-managed device, including a matching de= vice_driver. * On failure, returns an error pointer. */ --=20 2.43.0.472.g3155946c3a-goog