Re: [PATCH net-next 1/3] spi: sc18is602: fix Wvoid-pointer-to-enum-cast warning

From: Krzysztof Kozlowski
Date: Thu Aug 10 2023 - 07:21:45 EST


On 10/08/2023 11:12, Krzysztof Kozlowski wrote:
> 'id' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> spi-sc18is602.c:269:12: error: cast to smaller integer type 'enum chips' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

The "net-next" patch subject prefix is not correct. My mistake.

Best regards,
Krzysztof