aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2016-05-22 00:18:55 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-04 15:46:08 +0200
commitc5776dec8f2a90a0aa9e197c2900f68fda8dd978 (patch)
tree7c194e5a9a008ab147e7c926e81dfd0fca9d6dd8 /tools/perf/scripts/python
parentrtc: interface: ignore expired timers when enqueuing new timers (diff)
downloadlinux-dev-c5776dec8f2a90a0aa9e197c2900f68fda8dd978.tar.xz
linux-dev-c5776dec8f2a90a0aa9e197c2900f68fda8dd978.zip
rtc: ds1685: correct day of month checking
The day of month is checked in ds1685_rtc_read_alarm and ds1685_rtc_set_alarm. Multiple errors exist in the day of month check. Operator ! has a higher priority than &&. (!(mday >= 1) && (mday <= 31)) is false for mday == 32. When verifying the day of month the binary and the BCD mode have to be considered. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions