summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-04 22:46:03 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-05 09:55:03 +0200
commitf2b4801201a46eaa9a00a39a1e2d5aa8c9864991 (patch)
treecd648ab673cc701b165ebb0f1f4729d5d7993058 /drivers/rtc/class.c
parent042fa8c7c04dd43b21be3ec5104681574a4f8f8c (diff)
downloadlinux-f2b4801201a46eaa9a00a39a1e2d5aa8c9864991.tar.bz2
rtc: ds1307: use sizeof
Use sizeof where possible to ensure we don't read/write more than the allocated buffer. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions