Commit de2ce8fd authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 340ccedb
......@@ -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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment