Commit 095067da authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix compiler warning in drivers/usb/serial/digi_acceleport.c

parent 47f16341
...@@ -1263,7 +1263,7 @@ static int digi_write( struct usb_serial_port *port, int from_user, ...@@ -1263,7 +1263,7 @@ static int digi_write( struct usb_serial_port *port, int from_user,
unsigned long flags = 0; unsigned long flags = 0;
dbg( "digi_write: TOP: port=%d, count=%d, from_user=%d, in_interrupt=%d", dbg( "digi_write: TOP: port=%d, count=%d, from_user=%d, in_interrupt=%ld",
priv->dp_port_num, count, from_user, in_interrupt() ); priv->dp_port_num, count, from_user, in_interrupt() );
/* copy user data (which can sleep) before getting spin lock */ /* copy user data (which can sleep) before getting spin lock */
...@@ -1744,7 +1744,7 @@ static void digi_shutdown( struct usb_serial *serial ) ...@@ -1744,7 +1744,7 @@ static void digi_shutdown( struct usb_serial *serial )
int i; int i;
dbg( "digi_shutdown: TOP, in_interrupt()=%d", in_interrupt() ); dbg( "digi_shutdown: TOP, in_interrupt()=%ld", in_interrupt() );
/* stop reads and writes on all ports */ /* stop reads and writes on all ports */
for( i=0; i<serial->type->num_ports+1; i++ ) { for( i=0; i<serial->type->num_ports+1; i++ ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment