diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:13:18 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-08-16 12:11:19 +0200 |
commit | 1892f9f01cd0cf163d2a2ee182d60d61e9d95be0 (patch) | |
tree | 626234e6d21b3e63bed5e08e8d0a4754ea03e63d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c39300c47d9195928fc1145f789fb0f36e471779 (diff) |
thermal/drivers/samsung: Fix Wvoid-pointer-to-enum-cast warning
'soc' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
exynos_tmu.c:890:14: error: cast to smaller integer type 'enum soc_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions