Re: [PATCH] memory: renesas-rpc-if: Silence clang warning

From: Krzysztof Kozlowski
Date: Mon Nov 22 2021 - 04:55:10 EST


On Sun, 21 Nov 2021 18:01:55 +0000, Lad Prabhakar wrote:
> This patch silences the following clang warning:
>
> | drivers/memory/renesas-rpc-if.c:253:14: warning: cast to smaller integer
> | type 'enum rpcif_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
> | rpc->type = (enum rpcif_type)of_device_get_match_data(dev);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Applied, thanks!

[1/1] memory: renesas-rpc-if: Silence clang warning
commit: 2602dc10f9d930bcc537467d13de4cfbfaa2126d

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>