* [PATCH] video/geode: fix warnings
@ 2007-08-21 4:03 Shaun Zinck
2007-08-21 5:35 ` Eugene Teo
2007-08-21 5:52 ` Eugene Teo
0 siblings, 2 replies; 3+ messages in thread
From: Shaun Zinck @ 2007-08-21 4:03 UTC (permalink / raw)
To: kernel-janitors
Remove the double declaration of variable 'opt'.
Signed-off-by: Shaun Zinck <shaun.zinck@gmail.com>
---
This is my first patch so I mostly wanted to make sure I got the formatting right.
Does this look OK?
diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c
index 5e30b40..67d6bf6 100644
--- a/drivers/video/geode/lxfb_core.c
+++ b/drivers/video/geode/lxfb_core.c
@@ -559,12 +559,10 @@ static struct pci_driver lxfb_driver = {
};
#ifndef MODULE
static int __init lxfb_setup(char *options)
{
- char *opt;
-
if (!options || !*options)
return 0;
while (1) {
char *opt = strsep(&options, ",");
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] video/geode: fix warnings
2007-08-21 4:03 [PATCH] video/geode: fix warnings Shaun Zinck
@ 2007-08-21 5:35 ` Eugene Teo
2007-08-21 5:52 ` Eugene Teo
1 sibling, 0 replies; 3+ messages in thread
From: Eugene Teo @ 2007-08-21 5:35 UTC (permalink / raw)
To: kernel-janitors
Hi Shaun,
<quote sender="Shaun Zinck">
> Remove the double declaration of variable 'opt'.
>
> Signed-off-by: Shaun Zinck <shaun.zinck@gmail.com>
Thanks, but I have already submitted this patch sometime back:
http://article.gmane.org/gmane.linux.kernel.commits.mm/19286
Eugene
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] video/geode: fix warnings
2007-08-21 4:03 [PATCH] video/geode: fix warnings Shaun Zinck
2007-08-21 5:35 ` Eugene Teo
@ 2007-08-21 5:52 ` Eugene Teo
1 sibling, 0 replies; 3+ messages in thread
From: Eugene Teo @ 2007-08-21 5:52 UTC (permalink / raw)
To: kernel-janitors
<quote sender="Shaun Zinck">
> Remove the double declaration of variable 'opt'.
>
> Signed-off-by: Shaun Zinck <shaun.zinck@gmail.com>
> ---
> This is my first patch so I mostly wanted to make sure I got the formatting right.
> Does this look OK?
Yes, the formatting is ok. Take a look at the following link:
http://lxr.linux.no/source/Documentation/SubmittingPatches#L331
Thanks,
Eugene
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-21 5:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 4:03 [PATCH] video/geode: fix warnings Shaun Zinck
2007-08-21 5:35 ` Eugene Teo
2007-08-21 5:52 ` Eugene Teo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.