]> Git Repo - linux.git/commit
fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
authorStanislav Kinsburskii <[email protected]>
Tue, 21 Nov 2023 00:01:33 +0000 (16:01 -0800)
committerHelge Deller <[email protected]>
Thu, 11 Jan 2024 16:09:01 +0000 (17:09 +0100)
commit75dda3f04ae7725b028b7267e49cd0b7b98ffe19
tree9a1247abe7b37e8a150f6be40e64f46f62711daa
parentd6dfcdaa4e6e1a7fa99dc068f47f6b7b8c5bb634
fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change

Explicitly cast __iomem pointer to const void* with __force to fix the
following warning:

   incorrect type in argument 1 (different address spaces)
      expected void const volatile *address
      got char [noderef] __iomem *screen_base

Signed-off-by: Stanislav Kinsburskii <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Helge Deller <[email protected]>
drivers/video/fbdev/fsl-diu-fb.c
This page took 0.054501 seconds and 4 git commands to generate.