Skip to contentSkip to conversation

tracing: Trivia spelling fix containerof() -> container_of()

PATCH In review Andy Shevchenko 2 participants 2 messages Jul 23, 2018 – Jul 24, 2018 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: Trivia spelling fix containerof() -> container_of()

This is the only location on kernel that has wrong spelling of the container_of() helper. Fix it.

---
 kernel/trace/trace_printk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_printk.c +1 -1
index 50f44b7b2b32..3cd7b0fcacc6 100644
@@ -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 **
Signature · 1 line
2.18.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Mon, 23 Jul 2018 11:31:59 +0300 Andy Shevchenko…

This is the only location on kernel that has wrong spelling of the container_of() helper. Fix it.

-- Steve

Quoted 17 lines
---
 kernel/trace/trace_printk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_printk.c +1 -1
index 50f44b7b2b32..3cd7b0fcacc6 100644
@@ -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 **