diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2021-11-21 18:01:55 +0000 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-11-22 10:51:44 +0100 |
commit | 2602dc10f9d930bcc537467d13de4cfbfaa2126d (patch) | |
tree | cf7050c3f93818d0f82385d937a0e163081cf626 /include | |
parent | b04cc0d912eb80d3c438b11d96ca847c3e77e8ab (diff) | |
download | linux-stable-2602dc10f9d930bcc537467d13de4cfbfaa2126d.tar.gz linux-stable-2602dc10f9d930bcc537467d13de4cfbfaa2126d.tar.bz2 linux-stable-2602dc10f9d930bcc537467d13de4cfbfaa2126d.zip |
memory: renesas-rpc-if: Silence clang warning
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: b04cc0d912eb8 ("memory: renesas-rpc-if: Add support for RZ/G2L")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211121180155.9062-1-prabhakar.mahadev-lad.rj@bp.renesas.com
[krzysztof: drop enum rpcif_type cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions