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:13 +0200
committerMark Brown <[email protected]>2023-08-10 15:44:45 +0100
commitb29f42c6629bb3bd3d479592d40a7e4c73461a01 (patch)
tree246027ea4958fee60d4b61dbf00222af02b414df /lib/test_fortify/write_overflow-strncpy-src.c
parentfddc9bb6e277b99b0410410794d156e963aa8f0b (diff)
regulator: max77857: Fix Wvoid-pointer-to-enum-cast warning
'id' is an enum, thus cast of pointer on 64-bit compile test with W=1 causes: max77857-regulator.c:56:24: error: cast to smaller integer type 'enum max77857_id' from '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