aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/pcxhr/pcxhr_hwdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/pcxhr/pcxhr_hwdep.c')
-rw-r--r--sound/pci/pcxhr/pcxhr_hwdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/pcxhr/pcxhr_hwdep.c b/sound/pci/pcxhr/pcxhr_hwdep.c
index e6a4bfbb91bb..d2f043278cf4 100644
--- a/sound/pci/pcxhr/pcxhr_hwdep.c
+++ b/sound/pci/pcxhr/pcxhr_hwdep.c
@@ -394,7 +394,7 @@ static int pcxhr_hwdep_dsp_load(struct snd_hwdep *hw,
394 (unsigned long)fw.size); 394 (unsigned long)fw.size);
395 return -ENOMEM; 395 return -ENOMEM;
396 } 396 }
397 if (copy_from_user(fw.data, dsp->image, dsp->length)) { 397 if (copy_from_user((void *)fw.data, dsp->image, dsp->length)) {
398 vfree(fw.data); 398 vfree(fw.data);
399 return -EFAULT; 399 return -EFAULT;
400 } 400 }