diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:58:46 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-08-22 08:07:52 +0100 |
commit | a2ce000265b78054225403e0815f11c7eefe0d58 (patch) | |
tree | 50c25e4605ce86f5c004df95165709b46d526996 /lib/test_fortify/write_overflow-memcpy.c | |
parent | aad6c588bdd229034dc1152052f1a1a5aecabb0a (diff) |
mfd: tc3589: Fix Wvoid-pointer-to-enum-cast warning
'version' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
tc3589x.c:343:13: error: cast to smaller integer type 'enum tc3589x_version' 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