diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-05-19 23:29:43 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2022-08-29 18:08:48 +0200 |
commit | 0f1a3e5f81f6309cf0d894faca128772ffc3e9a4 (patch) | |
tree | 8e2c5603a1ee2e4346ac1159f12bd82acfdb4803 /drivers/hsi/controllers | |
parent | 9a2ea132df860177b33c9fd421b26c4e9a0a9396 (diff) | |
download | linux-0f1a3e5f81f6309cf0d894faca128772ffc3e9a4.tar.gz linux-0f1a3e5f81f6309cf0d894faca128772ffc3e9a4.tar.bz2 linux-0f1a3e5f81f6309cf0d894faca128772ffc3e9a4.zip |
HSI: cmt_speech: Pass a pointer to virt_to_page()
A pointer into virtual memory is represented by a (void *)
not an u32, so the compiler warns:
drivers/hsi/clients/cmt_speech.c:1092:35: warning: passing argument
1 of 'virt_to_pfn' makes pointer from integer without a cast
[-Wint-conversion]
Fix this with an explicit cast.
Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/hsi/controllers')
0 files changed, 0 insertions, 0 deletions