summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sc27xx.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-19 13:43:45 -0700
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-10-22 19:29:43 +0200
commitef0f02fd69a02b50e468a4ddbe33e3d81671e248 (patch)
tree23caa369381c46f365cf2b30efaa24fe10685206 /drivers/rtc/rtc-sc27xx.c
parent7dceef78f310f5351735060d78a1777c69606016 (diff)
rtc: s35390a: Change buf's type to u8 in s35390a_init
Clang warns: drivers/rtc/rtc-s35390a.c:124:27: warning: implicit conversion from 'int' to 'char' changes value from 192 to -64 [-Wconstant-conversion] buf = S35390A_FLAG_RESET | S35390A_FLAG_24H; ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 1 warning generated. Update buf to be an unsigned 8-bit integer, which matches the buf member in struct i2c_msg. https://github.com/ClangBuiltLinux/linux/issues/145 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-sc27xx.c')
0 files changed, 0 insertions, 0 deletions