aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-08-10 11:58:44 +0200
committerLee Jones <[email protected]>2023-08-22 08:07:51 +0100
commitb2ee6a378d05016357eba021698f4d3620455312 (patch)
tree956e496d795959058d260b5040574eb4fc03717e /lib/test_fortify/write_overflow-memcpy.c
parentb1da99664b51c0538bec271e9d9924a3d92e3bd4 (diff)
mfd: hi6421-pmic: Fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1 causes: hi6421-pmic-core.c:62:9: error: cast to smaller integer type 'enum hi6421_type' 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: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions