diff options
-rw-r--r-- | kernel/params.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/params.c b/kernel/params.c index cf1b69183127..2278ce244cf8 100644 --- a/kernel/params.c +++ b/kernel/params.c | |||
@@ -402,8 +402,8 @@ int param_get_string(char *buffer, struct kernel_param *kp) | |||
402 | } | 402 | } |
403 | 403 | ||
404 | /* sysfs output in /sys/modules/XYZ/parameters/ */ | 404 | /* sysfs output in /sys/modules/XYZ/parameters/ */ |
405 | #define to_module_attr(n) container_of(n, struct module_attribute, attr); | 405 | #define to_module_attr(n) container_of(n, struct module_attribute, attr) |
406 | #define to_module_kobject(n) container_of(n, struct module_kobject, kobj); | 406 | #define to_module_kobject(n) container_of(n, struct module_kobject, kobj) |
407 | 407 | ||
408 | extern struct kernel_param __start___param[], __stop___param[]; | 408 | extern struct kernel_param __start___param[], __stop___param[]; |
409 | 409 | ||
@@ -421,7 +421,7 @@ struct module_param_attrs | |||
421 | }; | 421 | }; |
422 | 422 | ||
423 | #ifdef CONFIG_SYSFS | 423 | #ifdef CONFIG_SYSFS |
424 | #define to_param_attr(n) container_of(n, struct param_attribute, mattr); | 424 | #define to_param_attr(n) container_of(n, struct param_attribute, mattr) |
425 | 425 | ||
426 | static ssize_t param_attr_show(struct module_attribute *mattr, | 426 | static ssize_t param_attr_show(struct module_attribute *mattr, |
427 | struct module *mod, char *buf) | 427 | struct module *mod, char *buf) |