diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-06-06 16:36:46 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-07-04 17:38:40 +0100 |
commit | 81c8920d46d449bec93c20b5083365a7cf2561aa (patch) | |
tree | e674965ae3c4b698916571c5af6b864b1f1a69f0 /scripts/rustdoc_test_builder.rs | |
parent | 5fed47abb330818534a5a0d969f6634e5bd225d8 (diff) |
mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning (again)
'type' is an enum, thus cast of pointer on 64-bit compile test with
clang and W=1 causes:
max14577.c:400:23: error: cast to smaller integer type 'enum maxim_device_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Year ago this was solved, although LKML discussion suggested warning is
not suitable for kernel. Nothing changed in this regard for a year, so
assume the warning will stay and we want to have warnings-free builds.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/all/[email protected]/
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 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions