diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-04 16:46:03 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-05 03:55:03 -0400 |
commit | f2b4801201a46eaa9a00a39a1e2d5aa8c9864991 (patch) | |
tree | cd648ab673cc701b165ebb0f1f4729d5d7993058 /lib/mpi/mpi-cmp.c | |
parent | 042fa8c7c04dd43b21be3ec5104681574a4f8f8c (diff) |
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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions