diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-01 19:05:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-01 19:05:46 -0300 |
commit | de2ce8fd84f965a270bad28d284932bf20c349be (patch) | |
tree | 651e263bbcb998bc5fa8b2d625e423f420422a96 /drivers | |
parent | 340ccedb76593a2961ad5dd72b33894dd755a358 (diff) | |
download | linux-stable-de2ce8fd84f965a270bad28d284932bf20c349be.tar.gz linux-stable-de2ce8fd84f965a270bad28d284932bf20c349be.tar.bz2 linux-stable-de2ce8fd84f965a270bad28d284932bf20c349be.zip |
[media] mipi-csis: make sparse happy
Fix the namespace issue that causes this warning:
drivers/media/platform/exynos4-is/mipi-csis.c:709:17: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/exynos4-is/mipi-csis.c:709:17: expected void const *<noident>
drivers/media/platform/exynos4-is/mipi-csis.c:709:17: got void [noderef] <asn:2>*
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/exynos4-is/mipi-csis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform/exynos4-is/mipi-csis.c index d74e1bec3d86..4b85105dc159 100644 --- a/drivers/media/platform/exynos4-is/mipi-csis.c +++ b/drivers/media/platform/exynos4-is/mipi-csis.c @@ -706,7 +706,8 @@ static irqreturn_t s5pcsis_irq_handler(int irq, void *dev_id) else offset = S5PCSIS_PKTDATA_ODD; - memcpy(pktbuf->data, state->regs + offset, pktbuf->len); + memcpy(pktbuf->data, (u8 __force *)state->regs + offset, + pktbuf->len); pktbuf->data = NULL; rmb(); } |