diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2022-05-19 22:39:06 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-20 10:30:34 +0100 |
| commit | e3b9e50af7db7393b82e4c182c64ae32dbf28f83 (patch) | |
| tree | 4f21eb2f5d7b199df0cd6a61e4fa44b06b6aeec1 /scripts/basic | |
| parent | ded5c4faf0d211e955cd80e6420a42c1e5e48f76 (diff) | |
| download | linux-e3b9e50af7db7393b82e4c182c64ae32dbf28f83.tar.gz linux-e3b9e50af7db7393b82e4c182c64ae32dbf28f83.zip | |
media: platform: omap: 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/media/platform/ti/omap/omap_voutlib.c:317:54: warning:
passing argument 1 of 'virt_to_pfn' makes pointer from integer
without a cast [-Wint-conversion]
Fix this with an explicit cast.
Cc: Vaibhav Hiremath <hvaibhav.linux@gmail.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
