aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kallsyms.c')
-rw-r--r--kernel/kallsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
index 5a0de8409739..d086c91d44ed 100644
--- a/kernel/kallsyms.c
+++ b/kernel/kallsyms.c
@@ -312,7 +312,7 @@ static int get_ksymbol_mod(struct kallsym_iter *iter)
312{ 312{
313 iter->owner = module_get_kallsym(iter->pos - kallsyms_num_syms, 313 iter->owner = module_get_kallsym(iter->pos - kallsyms_num_syms,
314 &iter->value, &iter->type, 314 &iter->value, &iter->type,
315 iter->name, sizeof(iter->name)); 315 iter->name);
316 if (iter->owner == NULL) 316 if (iter->owner == NULL)
317 return 0; 317 return 0;
318 318