aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-01-10 16:08:03 +0200
committerAlexandre Belloni <[email protected]>2023-02-22 21:06:30 +0100
commit93219a4fb8bdf279f749b5eef40bef1bbe805fc3 (patch)
treebf816f01e5b9f74ea01e6fe18272cc5ad2235286 /lib/test_fortify/write_overflow-strncpy-src.c
parentf525b210e9d4dcefb88594d50e426068e62840f4 (diff)
rtc: isl12022: Explicitly use __le16 type for ISL12022_REG_TEMP_L
We are reading 10-bit value in a 16-bit register in LE format. Make this explicit by using __le16 type for it and corresponding conversion function. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Rasmus Villemoes <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions