Update of /cvsroot/alsa/alsa-kernel/isa
In directory sc8-pr-cvs1:/tmp/cvs-serv26852/isa
Modified Files:
sscape.c
Log Message:
Chris Rankin <[EMAIL PROTECTED]> - use #define rather than value for the microcode size
Index: sscape.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sscape.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sscape.c 25 Sep 2003 18:55:43 -0000 1.5
+++ sscape.c 12 Oct 2003 08:44:58 -0000 1.6
@@ -616,10 +616,10 @@
*/
if (get_user(code, &mc->code))
return -EFAULT;
- if ((err = verify_area(VERIFY_READ, code, 65536)) != 0)
+ if ((err = verify_area(VERIFY_READ, code, SSCAPE_MICROCODE_SIZE)) != 0)
return err;
- if ((ret = upload_dma_data(sscape, code, 65536)) == 0) {
+ if ((ret = upload_dma_data(sscape, code, SSCAPE_MICROCODE_SIZE)) == 0) {
snd_printk(KERN_INFO "sscape: MIDI firmware loaded\n");
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog