projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c00593f
)
rtc: make example code jump to done instead of return when ioctl not supported
author
Hans-Christian Egtvedt
<
[email protected]
>
Tue, 17 Jul 2007 11:04:59 +0000
(
04:04
-0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 17 Jul 2007 17:23:08 +0000
(10:23 -0700)
Signed-off-by: Hans-Christian Egtvedt <
[email protected]
>
Cc: Haavard Skinnemoen <
[email protected]
>
Cc: David Brownell <
[email protected]
>
Cc: Alessandro Zummo <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Documentation/rtc.txt
patch
|
blob
|
history
diff --git
a/Documentation/rtc.txt
b/Documentation/rtc.txt
index 7c701b88d6d59dd4e1068a8ad22a4321704737a0..c931d613f6410cb7dce6732ac1f68ddaf6a3ee9d 100644
(file)
--- a/
Documentation/rtc.txt
+++ b/
Documentation/rtc.txt
@@
-385,7
+385,7
@@
test_PIE:
/* not all RTCs support periodic IRQs */
if (errno == ENOTTY) {
fprintf(stderr, "\nNo periodic IRQ support\n");
-
return 0
;
+
goto done
;
}
perror("RTC_IRQP_READ ioctl");
exit(errno);