]> git.ipfire.org Git - thirdparty/linux.git/commit
samples/kobject: fix path comment
authorMeng Shao Liu <sau525@gmail.com>
Wed, 16 Jul 2025 06:46:28 +0000 (14:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2025 11:32:53 +0000 (13:32 +0200)
commit42573e4df8e2318fce6a711e0f9cafc9e3dc1483
tree754793d0469a01a9e953dbe11f78e8750337b209
parent47e6715bb7ea388a9a3a13d31918827ba3aa3f4a
samples/kobject: fix path comment

The introductory comment still says the example creates
/sys/kernel/kobject-example, but the code actually creates
/sys/kernel/kobject_example.

Update both comments to reflect the actual sysfs paths. Also,
fix "tree"->"three" typo in kset-example.c.

Signed-off-by: Meng Shao Liu <sau525@gmail.com>
Link: https://lore.kernel.org/r/5be61d284a1850f573658f1c105f0b6062e41332.1752646650.git.sau525@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/kobject/kobject-example.c
samples/kobject/kset-example.c