diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-05-19 23:46:35 +0200 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2022-05-30 08:06:45 +0200 |
commit | a3b9ecc805e9131476c719111fe347c7dbc0d1d1 (patch) | |
tree | 4aeef70cdb798d2d45e6e51b5a98eb0ce96c96f3 /net/ieee802154/socket.c | |
parent | 3e47235eaee09488c7e467b9aaccb7c93c862c6b (diff) | |
download | linux-a3b9ecc805e9131476c719111fe347c7dbc0d1d1.tar.gz linux-a3b9ecc805e9131476c719111fe347c7dbc0d1d1.tar.bz2 linux-a3b9ecc805e9131476c719111fe347c7dbc0d1d1.zip |
tee: optee: Pass a pointer to virt_addr_valid()
A pointer into virtual memory is represented by a (void *)
not an u32, so the compiler warns:
drivers/tee/optee/call.c:365:29: warning: passing argument 1
of 'virt_to_pfn' makes pointer from integer without a
cast [-Wint-conversion]
Fix this with an explicit cast.
Cc: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
[jw: fixed merge conflict]
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'net/ieee802154/socket.c')
0 files changed, 0 insertions, 0 deletions