git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4870bc
)
rtc: t reaches -1, tested 0
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 11 Feb 2009 21:04:34 +0000
(13:04 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 11 Feb 2009 22:25:36 +0000
(14:25 -0800)
With a postfix decrement t will reach -1 rather than 0, so neither the
warning nor the `goto error_out' will occur.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-au1xxx.c
patch
|
blob
|
history
diff --cc
drivers/rtc/rtc-au1xxx.c
Simple merge