samples/kobject: fix path comment
PATCH 1/2 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.
--- samples/kobject/kobject-example.c | 2 +- samples/kobject/kset-example.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
samples/kobject/kobject-example.c +1 -1
@@ -13,7 +13,7 @@/* * This module shows how to create a simple subdirectory in sysfs called -* /sys/kernel/kobject-example In that directory, 3 files are created: +* /sys/kernel/kobject_example In that directory, 3 files are created: * "foo", "baz", and "bar". If an integer is written to these files, it can be * later read out of it. */
samples/kobject/kset-example.c +2 -2
@@ -14,8 +14,8 @@/* * This module shows how to create a kset in sysfs called -* /sys/kernel/kset-example -* Then tree kobjects are created and assigned to this kset, "foo", "baz", +* /sys/kernel/kset_example +* Then three kobjects are created and assigned to this kset, "foo", "baz", * and "bar". In those kobjects, attributes of the same name are also * created and if an integer is written to these files, it can be later * read out of it.
Signature · 1 line
2.43.0
Quoted 8 lines · Meng-Shao.Liu
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 <[email protected]>
Please use your name correctly, I doubt it has a '.' in it :)
Quoted 4 lines
--- samples/kobject/kobject-example.c | 2 +- samples/kobject/kset-example.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Your patch series was not threaded, what happened? When you resend, try to use something like git send-email to have that work properly.
thanks,
greg k-h