diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-07-10 14:34:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-10 15:58:00 +0300 |
commit | 703275a867ca7674fa65b7dcebb0edfe43acf0a8 (patch) | |
tree | 3bf79a6a1087f889870cc8d9fa031d1b7eba7e9e | |
parent | a9f91cebbeb8ea1355e852cce6d40efbcddbfe2b (diff) | |
download | linux-703275a867ca7674fa65b7dcebb0edfe43acf0a8.tar.xz |
vop: sparse warning fixup
vop_dc_to_vdev dropped an __iomem tag on its argument,
causing a sparse warning. Fix it up.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20200710113447.427927-1-mst@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/misc/mic/vop/vop_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c index 7ce66890edad..55e7f21e51f4 100644 --- a/drivers/misc/mic/vop/vop_main.c +++ b/drivers/misc/mic/vop/vop_main.c @@ -546,7 +546,7 @@ static int vop_match_desc(struct device *dev, void *data) return vdev->desc == (void __iomem *)data; } -static struct _vop_vdev *vop_dc_to_vdev(struct mic_device_ctrl *dc) +static struct _vop_vdev *vop_dc_to_vdev(struct mic_device_ctrl __iomem *dc) { return (struct _vop_vdev *)(unsigned long)readq(&dc->vdev); } |