usb: ehci-mv: Fix missing iomem in cast
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 3 Jan 2020 16:40:31 +0000 (17:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2020 16:55:25 +0000 (17:55 +0100)
commit60826786fcdb328a222e41ea13e0e63b23ad9daa
treec7b3dab46682b8ea0b62eee5f42115dd2868c275
parent7b7ad03f49a5c6be19ef1c3d4090651b5892e6e0
usb: ehci-mv: Fix missing iomem in cast

Fix missing __iomem in cast to struct ehci_caps.  This fixes the Sparse
warning visible on x86_64 compile test:

   drivers/usb/host/ehci-mv.c:167:23: warning: cast removes address space '<asn:2>' of expression
   drivers/usb/host/ehci-mv.c:167:20: warning: incorrect type in assignment (different address spaces)
   drivers/usb/host/ehci-mv.c:167:20:    expected struct ehci_caps [noderef] <asn:2> *caps
   drivers/usb/host/ehci-mv.c:167:20:    got struct ehci_caps *

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200103164031.4089-1-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mv.c