Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f799135 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] ti-vpe: fix sparse warnings



sc.c:303:26: warning: incorrect type in return expression (different address spaces)
csc.c:188:27: warning: incorrect type in return expression (different address spaces)

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent d674a654
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ struct csc_data *csc_create(struct platform_device *pdev)
	csc->base = devm_ioremap_resource(&pdev->dev, csc->res);
	if (IS_ERR(csc->base)) {
		dev_err(&pdev->dev, "failed to ioremap\n");
		return csc->base;
		return ERR_CAST(csc->base);
	}

	return csc;
+1 −1
Original line number Diff line number Diff line
@@ -300,7 +300,7 @@ struct sc_data *sc_create(struct platform_device *pdev)
	sc->base = devm_ioremap_resource(&pdev->dev, sc->res);
	if (IS_ERR(sc->base)) {
		dev_err(&pdev->dev, "failed to ioremap\n");
		return sc->base;
		return ERR_CAST(sc->base);
	}

	return sc;