Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187762
b: refs/heads/master
c: 350f825
h: refs/heads/master
v: v3
  • Loading branch information
Edward Z. Yang authored and Jiri Kosina committed Feb 5, 2010
1 parent 5dc7cd5 commit 3c16b3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d9b48ea81ee49779b95ecd0df5a8c2789e4f836
refs/heads/master: 350f82586b7554240bee18c41cc5c842f63265ae
6 changes: 3 additions & 3 deletions trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ int param_get_string(char *buffer, struct kernel_param *kp)
}

/* sysfs output in /sys/modules/XYZ/parameters/ */
#define to_module_attr(n) container_of(n, struct module_attribute, attr);
#define to_module_kobject(n) container_of(n, struct module_kobject, kobj);
#define to_module_attr(n) container_of(n, struct module_attribute, attr)
#define to_module_kobject(n) container_of(n, struct module_kobject, kobj)

extern struct kernel_param __start___param[], __stop___param[];

Expand All @@ -421,7 +421,7 @@ struct module_param_attrs
};

#ifdef CONFIG_SYSFS
#define to_param_attr(n) container_of(n, struct param_attribute, mattr);
#define to_param_attr(n) container_of(n, struct param_attribute, mattr)

static ssize_t param_attr_show(struct module_attribute *mattr,
struct module *mod, char *buf)
Expand Down

0 comments on commit 3c16b3e

Please sign in to comment.