Commit d5c97c10 authored by Javi Merino's avatar Javi Merino Committed by Greg Kroah-Hartman

kref: Fix typo in kref documentation

container_of() should refer to the struct created in the example.
Signed-off-by: default avatarJavi Merino <>
Cc: Randy Dunlap <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent f1a304e7
......@@ -156,7 +156,7 @@ static struct my_data *get_entry()
struct my_data *entry = NULL;
if (!list_empty(&q)) {
entry = container_of(, struct my_q_entry, link);
entry = container_of(, struct my_data, link);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment