* [PATCH] Remove redundant trailing semicolons from macros
@ 2010-02-01 23:26 Edward Z. Yang
2010-02-02 3:54 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: Edward Z. Yang @ 2010-02-01 23:26 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-kernel, trivial
Signed-off-by: Edward Z. Yang <ezyang@ksplice.com>
diff --git a/kernel/params.c b/kernel/params.c
index cf1b691..2278ce2 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -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[];
@@ -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)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove redundant trailing semicolons from macros
2010-02-01 23:26 [PATCH] Remove redundant trailing semicolons from macros Edward Z. Yang
@ 2010-02-02 3:54 ` Rusty Russell
2010-02-02 10:15 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2010-02-02 3:54 UTC (permalink / raw)
To: Edward Z. Yang; +Cc: linux-kernel, trivial
On Tue, 2 Feb 2010 09:56:59 am Edward Z. Yang wrote:
> Signed-off-by: Edward Z. Yang <ezyang@ksplice.com>
Assume trivial will take these?
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Thanks!
Rusty.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove redundant trailing semicolons from macros
2010-02-02 3:54 ` Rusty Russell
@ 2010-02-02 10:15 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2010-02-02 10:15 UTC (permalink / raw)
To: Rusty Russell; +Cc: Edward Z. Yang, linux-kernel
On Tue, 2 Feb 2010, Rusty Russell wrote:
> > Signed-off-by: Edward Z. Yang <ezyang@ksplice.com>
>
> Assume trivial will take these?
>
> Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Yup, applied, thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-02 10:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01 23:26 [PATCH] Remove redundant trailing semicolons from macros Edward Z. Yang
2010-02-02 3:54 ` Rusty Russell
2010-02-02 10:15 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox