diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-04 22:46:03 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-05 09:55:03 +0200 |
commit | f2b4801201a46eaa9a00a39a1e2d5aa8c9864991 (patch) | |
tree | cd648ab673cc701b165ebb0f1f4729d5d7993058 /net/ipv6/proc.c | |
parent | rtc: ds1307: remove regs member (diff) | |
download | linux-f2b4801201a46eaa9a00a39a1e2d5aa8c9864991.tar.xz linux-f2b4801201a46eaa9a00a39a1e2d5aa8c9864991.zip |
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 'net/ipv6/proc.c')
0 files changed, 0 insertions, 0 deletions