Skip to content

Commit 539e582

Browse files
sulixshuahkh
authored andcommitted
kunit: Fix some comments which were mistakenly kerneldoc
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: d03c720 ("kunit: Add APIs for managing devices") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202312181920.H4EPAH20-lkp@intel.com/ Signed-off-by: David Gow <davidgow@google.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent 7ece381 commit 539e582

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/kunit/device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static void kunit_device_release(struct device *d)
6060
kfree(to_kunit_device(d));
6161
}
6262

63-
/**
63+
/*
6464
* Create and register a KUnit-managed struct device_driver on the kunit_bus.
6565
* Returns an error pointer on failure.
6666
*/
@@ -124,7 +124,7 @@ static struct kunit_device *kunit_device_register_internal(struct kunit *test,
124124
return kunit_dev;
125125
}
126126

127-
/**
127+
/*
128128
* Create and register a new KUnit-managed device, using the user-supplied device_driver.
129129
* On failure, returns an error pointer.
130130
*/
@@ -141,7 +141,7 @@ struct device *kunit_device_register_with_driver(struct kunit *test,
141141
}
142142
EXPORT_SYMBOL_GPL(kunit_device_register_with_driver);
143143

144-
/**
144+
/*
145145
* Create and register a new KUnit-managed device, including a matching device_driver.
146146
* On failure, returns an error pointer.
147147
*/

0 commit comments

Comments
 (0)