diff options
author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-06-03 05:37:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-03 05:37:32 -0700 |
commit | 2b7485b46e34084b5374c85050378ff47020b221 (patch) | |
tree | bde761072c2d227f1a962d61e0b375d4fa44b35e /sound | |
parent | 7606f3c86f7d6c51e5140c2bc85cc8c3c4512c48 (diff) | |
download | history-2b7485b46e34084b5374c85050378ff47020b221.tar.gz |
[PATCH] sparse: vx annotation
Both PCI and PCMCIA variants of driver annotated
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/vx222/vx222_ops.c | 3 | ||||
-rw-r--r-- | sound/pcmcia/vx/vxp_ops.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/vx222/vx222_ops.c b/sound/pci/vx222/vx222_ops.c index 6f73d05e3ae75b..c9dfb2bc123064 100644 --- a/sound/pci/vx222/vx222_ops.c +++ b/sound/pci/vx222/vx222_ops.c @@ -357,7 +357,8 @@ static int vx2_load_xilinx_binary(vx_core_t *chip, const snd_hwdep_dsp_image_t * { unsigned int i; unsigned int port; - unsigned char *image, data; + unsigned char data; + unsigned char __user *image; /* XILINX reset (wait at least 1 milisecond between reset on and off). */ vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK); diff --git a/sound/pcmcia/vx/vxp_ops.c b/sound/pcmcia/vx/vxp_ops.c index a23eb4d19f7e64..c0e1fd0a84d35d 100644 --- a/sound/pcmcia/vx/vxp_ops.c +++ b/sound/pcmcia/vx/vxp_ops.c @@ -152,7 +152,8 @@ static int vxp_load_xilinx_binary(vx_core_t *_chip, const snd_hwdep_dsp_image_t unsigned int i; int c; int regCSUER, regRUER; - unsigned char *image, data; + unsigned char __user *image; + unsigned char data; /* Switch to programmation mode */ chip->regDIALOG |= VXP_DLG_XILINX_REPROG_MASK; |