* [PATCH v1] tracing: Trivia spelling fix containerof() -> container_of()
@ 2018-07-23 8:31 Andy Shevchenko
2018-07-24 14:58 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2018-07-23 8:31 UTC (permalink / raw)
To: Steven Rostedt, linux-kernel; +Cc: Andy Shevchenko
This is the only location on kernel that has wrong spelling
of the container_of() helper. Fix it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
kernel/trace/trace_printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_printk.c b/kernel/trace/trace_printk.c
index 50f44b7b2b32..3cd7b0fcacc6 100644
--- a/kernel/trace/trace_printk.c
+++ b/kernel/trace/trace_printk.c
@@ -114,7 +114,7 @@ static int module_trace_bprintk_format_notify(struct notifier_block *self,
* section, then we need to read the link list pointers. The trick is
* we pass the address of the string to the seq function just like
* we do for the kernel core formats. To get back the structure that
- * holds the format, we simply use containerof() and then go to the
+ * holds the format, we simply use container_of() and then go to the
* next format in the list.
*/
static const char **
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] tracing: Trivia spelling fix containerof() -> container_of()
2018-07-23 8:31 [PATCH v1] tracing: Trivia spelling fix containerof() -> container_of() Andy Shevchenko
@ 2018-07-24 14:58 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2018-07-24 14:58 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: linux-kernel, trivial
On Mon, 23 Jul 2018 11:31:59 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> This is the only location on kernel that has wrong spelling
> of the container_of() helper. Fix it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-- Steve
> ---
> kernel/trace/trace_printk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace_printk.c b/kernel/trace/trace_printk.c
> index 50f44b7b2b32..3cd7b0fcacc6 100644
> --- a/kernel/trace/trace_printk.c
> +++ b/kernel/trace/trace_printk.c
> @@ -114,7 +114,7 @@ static int module_trace_bprintk_format_notify(struct notifier_block *self,
> * section, then we need to read the link list pointers. The trick is
> * we pass the address of the string to the seq function just like
> * we do for the kernel core formats. To get back the structure that
> - * holds the format, we simply use containerof() and then go to the
> + * holds the format, we simply use container_of() and then go to the
> * next format in the list.
> */
> static const char **
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-24 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23 8:31 [PATCH v1] tracing: Trivia spelling fix containerof() -> container_of() Andy Shevchenko
2018-07-24 14:58 ` Steven Rostedt
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).