From 87f4ebcd0693f6de14f60cf7bf9821a005b5850f Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 24 Sep 2014 11:17:06 -0300 Subject: [PATCH] [media] sta2x11_vip: fix address space casting drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:1140:30: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:1140:30: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:1140:30: got void volatile [noderef] *iomem drivers/media/pci/sta2x11/sta2x11_vip.c:1184:30: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:1184:30: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:1184:30: got void volatile [noderef] *iomem drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: warning: incorrect type in argument 1 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:226:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: warning: incorrect type in argument 2 (different modifiers) drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: expected void [noderef] * drivers/media/pci/sta2x11/sta2x11_vip.c:221:38: got void volatile [noderef] * Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/sta2x11/sta2x11_vip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/sta2x11/sta2x11_vip.c b/drivers/media/pci/sta2x11/sta2x11_vip.c index 365bd21301ba..22450f583da1 100644 --- a/drivers/media/pci/sta2x11/sta2x11_vip.c +++ b/drivers/media/pci/sta2x11/sta2x11_vip.c @@ -152,7 +152,7 @@ struct sta2x11_vip { int tcount, bcount; int overflow; - void *iomem; /* I/O Memory */ + void __iomem *iomem; /* I/O Memory */ struct vip_config *config; }; -- 2.39.5