From d390d2b04ddcd1d70bf5ae89e677ad03bd680e90 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Thu, 2 Dec 2004 14:02:37 +0000 Subject: Patch by C.Y.M.: add __user and __iomem annotations, remove some unnecessary casts (cleanups from mailine kernel) --- linux/drivers/media/dvb/ttpci/av7110_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/dvb/ttpci/av7110_hw.c') diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c index 45de1f8ee..754bb8140 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_hw.c +++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c @@ -999,11 +999,11 @@ int av7110_osd_cmd(struct av7110 *av7110, osd_cmd_t *dc) case OSD_SetPalette: { if (FW_VERSION(av7110->arm_app) >= 0x2618) { - ret = OSDSetPalette(av7110, (u32 *)dc->data, dc->color, dc->x0); + ret = OSDSetPalette(av7110, dc->data, dc->color, dc->x0); goto out; } else { int i, len = dc->x0-dc->color+1; - u8 *colors = (u8 *)dc->data; + u8 __user *colors = (u8 *)dc->data; u8 r, g, b, blend; for (i = 0; i