* [PATCH] rtc-ds1511: fix sparse warning
@ 2008-11-28 16:01 Hannes Eder
2008-11-30 0:39 ` Alessandro Zummo
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Eder @ 2008-11-28 16:01 UTC (permalink / raw)
To: Alessandro Zummo; +Cc: rtc-linux, linux-kernel, kernel-janitors, trivial
Fix this sparse warning:
drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
---
drivers/rtc/rtc-ds1511.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c
index 25caada..062a1d1 100644
--- a/drivers/rtc/rtc-ds1511.c
+++ b/drivers/rtc/rtc-ds1511.c
@@ -631,7 +631,7 @@ ds1511_rtc_init(void)
static void __exit
ds1511_rtc_exit(void)
{
- return platform_driver_unregister(&ds1511_rtc_driver);
+ platform_driver_unregister(&ds1511_rtc_driver);
}
module_init(ds1511_rtc_init);
--
1.5.6.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rtc-ds1511: fix sparse warning
2008-11-28 16:01 [PATCH] rtc-ds1511: fix sparse warning Hannes Eder
@ 2008-11-30 0:39 ` Alessandro Zummo
2008-11-30 13:08 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Alessandro Zummo @ 2008-11-30 0:39 UTC (permalink / raw)
To: Hannes Eder
Cc: Alessandro Zummo, rtc-linux, linux-kernel, kernel-janitors, trivial
On Fri, 28 Nov 2008 17:01:35 +0100
Hannes Eder <hannes@hanneseder.net> wrote:
> Fix this sparse warning:
>
> drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression
>
> Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rtc-ds1511: fix sparse warning
2008-11-30 0:39 ` Alessandro Zummo
@ 2008-11-30 13:08 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2008-11-30 13:08 UTC (permalink / raw)
To: Alessandro Zummo
Cc: Hannes Eder, Alessandro Zummo, rtc-linux, linux-kernel,
kernel-janitors, trivial
On Sun, 30 Nov 2008, Alessandro Zummo wrote:
> > Fix this sparse warning:
> >
> > drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression
> >
> > Signed-off-by: Hannes Eder <hannes@hanneseder.net>
> Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Applied to trivial patches tree. If anyone has already merged this through
another subsystem tree, please let me know.
Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-30 13:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-28 16:01 [PATCH] rtc-ds1511: fix sparse warning Hannes Eder
2008-11-30 0:39 ` Alessandro Zummo
2008-11-30 13:08 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®