diff options
author | Lee, Chun-Yi <joeyli.kernel@gmail.com> | 2014-06-06 23:35:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:07 +0200 |
commit | 809d9627087e1db63b8672c1f264af73b13116fb (patch) | |
tree | 849cc951fc21b047ae6132fb3f2c2afb86291e6c /scripts/Makefile.clean | |
parent | drivers/rtc/rtc-m41t80.c: add support for MicroCrystal rv4162 (diff) | |
download | linux-809d9627087e1db63b8672c1f264af73b13116fb.tar.xz linux-809d9627087e1db63b8672c1f264af73b13116fb.zip |
drivers/rtc/rtc-efi.c: avoid subtracting day twice when computing year days
Compared source code of rtc-lib.c::rtc_year_days() with
efirtc.c::rtc_year_days(), found the code in rtc-efi decreases value of
day twice when it computing year days. rtc-lib.c::rtc_year_days() has
already decrease days and return the year days from 0 to 365.
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.clean')
0 files changed, 0 insertions, 0 deletions