aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-08-10 13:19:12 +0200
committerMark Brown <[email protected]>2023-08-10 15:44:44 +0100
commitfddc9bb6e277b99b0410410794d156e963aa8f0b (patch)
tree5d66d91c18ed88d7cb7e98bbbdc36b1f017cd9d8 /lib/test_fortify/write_overflow-strncpy-src.c
parent55975401fdf86ffe4736a557ae9d6f3d81ee5ba6 (diff)
regulator: ltc3589: Fix Wvoid-pointer-to-enum-cast warning
'variant' is an enum, thus cast of pointer on 64-bit compile test with W=1 causes: ltc3589.c:394:22: error: cast to smaller integer type 'enum ltc3589_variant' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions