patch-2.4.20 linux-2.4.20/drivers/usb/brlvger.c

Next file: linux-2.4.20/drivers/usb/catc.c
Previous file: linux-2.4.20/drivers/usb/bluetooth.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/usb/brlvger.c linux-2.4.20/drivers/usb/brlvger.c
@@ -208,8 +208,8 @@
 #define err(args...) \
     ({ printk(KERN_ERR "Voyager: " args); \
        printk("\n"); })
-#define dbgprint(args...) \
-    ({ printk(KERN_DEBUG "Voyager: " __FUNCTION__ ": " args); \
+#define dbgprint(fmt, args...) \
+    ({ printk(KERN_DEBUG "Voyager: %s: " fmt, __FUNCTION__ , ##args); \
        printk("\n"); })
 #define dbg(args...) \
     ({ if(debug >= 1) dbgprint(args); })
@@ -586,7 +586,9 @@
 	struct brlvger_priv *priv = file->private_data;
 	char buf[MAX_BRLVGER_CELLS];
 	int ret;
-	int rs, off;
+	size_t rs;
+	loff_t off;
+
 	__u16 written;
 
 	if(!priv->dev)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)