summary refs log tree commit diff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-19 11:50:08 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-01-11 20:19:56 +0100
commitf8947feb2c0196dafa7683f557eb8dddfb1ae167 (patch)
tree0d4c298450ccf52b02ad1b11b7436d1767462f0c /block/blk-mq.h
parent3fc2c14acaf925768db37cf439c628bfa71dff09 (diff)
downloadlinux-f8947feb2c0196dafa7683f557eb8dddfb1ae167.tar.gz
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 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions