From: Mauro Carvalho Chehab Date: Sat, 24 Aug 2013 11:47:51 +0000 (-0300) Subject: [media] vsp1: Fix a sparse warning X-Git-Tag: v3.12-rc1~135^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbec6d3ab470565536480d3bd109a7fdb128c3c4;p=pandora-kernel.git [media] vsp1: Fix a sparse warning As reported by: kbuild test robot : drivers/media/platform/vsp1/vsp1_drv.c:434:21: sparse: cast removes address space of expression 433 vsp1->mmio = devm_ioremap_resource(&pdev->dev, io); > 434 if (IS_ERR((void *)vsp1->mmio)) > 435 return PTR_ERR((void *)vsp1->mmio); There's no need to convert it to void *. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed