Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1207238rdb; Fri, 22 Dec 2023 20:19:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsm3LI98qjF3Ng9STRgF9z2/tvZxqYIcdzXE9jStSO6P+UDHVqsiAQruHukua/AucppoD2 X-Received: by 2002:a05:600c:181b:b0:40d:27ea:6e9 with SMTP id n27-20020a05600c181b00b0040d27ea06e9mr1387008wmp.35.1703305155843; Fri, 22 Dec 2023 20:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703305155; cv=none; d=google.com; s=arc-20160816; b=Ukl+KgHX6TyHLwJdp5ADRpK02eLNV9uA+gDIDG97rmC8c2OTy/LPF2U0u7DsZCuXAc 5X9vETYBYbwnoBTh37bYqfEVA4t9y0754g4uISuGJUM3MRQOu/uXJ4boOvwpWOndsw7y 2X2KRcKLI1R0u7E0/BK2FV3fqexZL3Vg7UcKGlmfJEdoWAe8c0xp6kPvblYW54iII32T 4B3co/WuflMycqcPvaR/J0BSC97CsfJrzyuREcv43NK7NhOi/VWJLg47Rf56LcGBeu8w wLjBBKGBAqQOpJeVALYSUxVLeaEV5EYzZDAMtyPQN5eMi8iWgTWyjaY6QHHJUqIHyWWt kJLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=yzOnnfcizg793z1bTTo1OJr4lB84vx2e8wyRTapkvIs=; fh=/jFUGK0tSjug5teaDybh9mmy2rda6hIPuMSeg8tM6bs=; b=hVMrLEl8caE4MEKugTyLtgzf7DU/Z+U727uIM7prhnNJtzwFCyb5RKkYHWg8rxDCm+ azwj7o60/B9DXCleaLqyThClw8rcNWgxpL2o2etM9G4+OfEU6Ts00hEqa0Waw1hSd0AM r1QZpcgbVWQQc7njHDLsYvKFenWrIoNfYdY771UNbfNKi/yZKWffEoRY8DpZF4u8D+ii 63GR8ukWfUMhBoO4kwqcEQQqnC+wqUxc9qrXwko15gFS2pymUgAjINV2et9d80p/bwwR PxYlur6ECUlz5B7+X7No7hubEVH0s4HEDD0UALHdKY58eJ7gI3yWrag7kz+Ngkoevn77 jjTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=lLE0ntR+; spf=pass (google.com: domain of linux-kernel+bounces-10283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j7-20020a170906278700b00a2328f418fdsi2170047ejc.1027.2023.12.22.20.19.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 20:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=lLE0ntR+; spf=pass (google.com: domain of linux-kernel+bounces-10283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 969341F23092 for ; Sat, 23 Dec 2023 04:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 210A0211A; Sat, 23 Dec 2023 04:19:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lLE0ntR+" X-Original-To: linux-kernel@vger.kernel.org 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 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-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-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@intel.com/ Signed-off-by: David Gow --- 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. */ -- 2.43.0.472.g3155946c3a-goog