summaryrefslogtreecommitdiff
path: root/scripts/check-variable-fonts.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2025-11-26 19:22:58 +0100
committerAndi Shyti <andi.shyti@kernel.org>2025-12-17 00:28:43 +0100
commit60d7f6031b94b6dae9e7d95b49f5c7045f6c8edb (patch)
tree99e99dc81ca1130bae9dd06b5c844beeac31d5d2 /scripts/check-variable-fonts.py
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
i2c: bcm-iproc: Fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with clang and W=1 causes: i2c-bcm-iproc.c:1102:3: error: cast to smaller integer type 'enum bcm_iproc_i2c_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] One of the discussions in 2023 on LKML suggested warning is not suitable for kernel. Nothing changed in this regard since that time, so assume the warning will stay and we want to have warnings-free builds. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20251126182257.157439-4-krzysztof.kozlowski@oss.qualcomm.com
Diffstat (limited to 'scripts/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions