summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-19 13:50:08 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-01-11 22:19:56 +0300
commitf8947feb2c0196dafa7683f557eb8dddfb1ae167 (patch)
tree0d4c298450ccf52b02ad1b11b7436d1767462f0c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent3fc2c14acaf925768db37cf439c628bfa71dff09 (diff)
downloadlinux-f8947feb2c0196dafa7683f557eb8dddfb1ae167.tar.xz
rtc: sunxi: fix signedness issues
The variable year must be set as unsigned since it is used with sunxi_rtc_data_year{.min|.max} and as parameter of is_leap_year() which wait for unsigned int. Only tm_year is not unsigned, but it is long. This patch fix also the format of printing of min/max. (must use %u since they are unsigned) The parameter to of sunxi_rtc_setaie() must be set to uint since callers give always uint data. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions