diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:58:43 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-08-22 08:07:51 +0100 |
commit | b1da99664b51c0538bec271e9d9924a3d92e3bd4 (patch) | |
tree | 641665337812911865c5a68e951e1a05f49f1b34 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 0f28379e3a441a594b820c394654afaf0bd415f1 (diff) |
mfd: max77541: Fix Wvoid-pointer-to-enum-cast warning
'id' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
max77541.c:176:18: error: cast to smaller integer type 'enum max7754x_ids' 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