* [PATCH 1/2] samples/kobject: fix path comment
@ 2025-07-15 14:30 Meng-Shao.Liu
2025-07-15 14:53 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Meng-Shao.Liu @ 2025-07-15 14:30 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, 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 <sau525@gmail.com>
---
samples/kobject/kobject-example.c | 2 +-
samples/kobject/kset-example.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index c9c3db197..e6d7fc18e 100644
--- a/samples/kobject/kobject-example.c
+++ b/samples/kobject/kobject-example.c
@@ -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.
*/
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c
index 552d7e363..579ce1502 100644
--- a/samples/kobject/kset-example.c
+++ b/samples/kobject/kset-example.c
@@ -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.
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] samples/kobject: fix path comment
2025-07-15 14:30 [PATCH 1/2] samples/kobject: fix path comment Meng-Shao.Liu
@ 2025-07-15 14:53 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2025-07-15 14:53 UTC (permalink / raw)
To: Meng-Shao.Liu; +Cc: linux-kernel
On Tue, Jul 15, 2025 at 10:30:01PM +0800, Meng-Shao.Liu wrote:
> 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>
Please use your name correctly, I doubt it has a '.' in it :)
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] samples/kobject: fix path comment
@ 2025-07-16 3:07 Meng Shao Liu
2025-07-16 4:53 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Meng Shao Liu @ 2025-07-16 3:07 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, visitorckw, 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 <sau525@gmail.com>
---
samples/kobject/kobject-example.c | 2 +-
samples/kobject/kset-example.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index c9c3db197..e6d7fc18e 100644
--- a/samples/kobject/kobject-example.c
+++ b/samples/kobject/kobject-example.c
@@ -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.
*/
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c
index 552d7e363..579ce1502 100644
--- a/samples/kobject/kset-example.c
+++ b/samples/kobject/kset-example.c
@@ -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.
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] samples/kobject: fix path comment
2025-07-16 3:07 Meng Shao Liu
@ 2025-07-16 4:53 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2025-07-16 4:53 UTC (permalink / raw)
To: Meng Shao Liu; +Cc: linux-kernel, visitorckw
On Wed, Jul 16, 2025 at 11:07:33AM +0800, Meng Shao Liu wrote:
> 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>
> ---
> samples/kobject/kobject-example.c | 2 +-
> samples/kobject/kset-example.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
> index c9c3db197..e6d7fc18e 100644
> --- a/samples/kobject/kobject-example.c
> +++ b/samples/kobject/kobject-example.c
> @@ -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.
> */
> diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c
> index 552d7e363..579ce1502 100644
> --- a/samples/kobject/kset-example.c
> +++ b/samples/kobject/kset-example.c
> @@ -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.
> --
> 2.43.0
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-07-16 4:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 14:30 [PATCH 1/2] samples/kobject: fix path comment Meng-Shao.Liu
2025-07-15 14:53 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2025-07-16 3:07 Meng Shao Liu
2025-07-16 4:53 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).