patch-2.1.104 linux/drivers/scsi/aha152x.c

Next file: linux/drivers/scsi/aha1542.c
Previous file: linux/drivers/scsi/advansys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c
@@ -992,7 +992,7 @@
 
     aha152x_reset_ports(shpnt);
       
-    printk("aha152x%d: vital data: PORTBASE=0x%03x, IRQ=%d, SCSI ID=%d,"
+    printk("aha152x%d: vital data: PORTBASE=0x%03lx, IRQ=%d, SCSI ID=%d,"
            " reconnect=%s, parity=%s, synchronous=%s, delay=%d, extended translation=%s\n",
            i,
            shpnt->io_port,
@@ -3176,7 +3176,7 @@
   save_flags(flags);
   cli();
   
-  SPRINTF("ioports 0x%04x to 0x%04x\n",
+  SPRINTF("ioports 0x%04lx to 0x%04lx\n",
           shpnt->io_port, shpnt->io_port+shpnt->n_io_port-1);
   SPRINTF("interrupt 0x%02x\n", shpnt->irq);
   SPRINTF("disconnection/reconnection %s\n", 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov