Sorry, wrong patch, this is the correct one
--- devio.c.orig        Fri May 19 11:57:02 2000
+++ devio.c     Fri May 19 11:57:24 2000
@@ -574,7 +574,7 @@
                return -ENOMEM;
        tmo = (ctrl.timeout * HZ + 999) / 1000;
        if (ctrl.requesttype & 0x80) {
-               if (ctrl.length && !access_ok(VERIFY_WRITE, ctrl.data, ctrl.length)) {
+               if (ctrl.length && !access_ok(VERIFY_WRITE, ctrl.data, (unsigned 
+int)ctrl.length)) {
                        free_page((unsigned long)tbuf);
                        return -EINVAL;
                }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to