From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Fix printk format warnings (firmware-related): linux-next-20080716/drivers/scsi/qla1280.c:1654: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' linux-next-20080716/drivers/scsi/qla1280.c:1713: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> --- drivers/scsi/qla1280.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20080716.orig/drivers/scsi/qla1280.c +++ linux-next-20080716/drivers/scsi/qla1280.c @@ -1650,7 +1650,7 @@ qla1280_load_firmware_pio(struct scsi_ql return err; } if ((fw->size % 2) || (fw->size < 6)) { - printk(KERN_ERR "Bogus length %d in image \"%s\"\n", + printk(KERN_ERR "Bogus length %zu in image \"%s\"\n", fw->size, ql1280_board_tbl[ha->devnum].fwname); err = -EINVAL; goto out; @@ -1709,7 +1709,7 @@ qla1280_load_firmware_dma(struct scsi_ql return err; } if ((fw->size % 2) || (fw->size < 6)) { - printk(KERN_ERR "Bogus length %d in image \"%s\"\n", + printk(KERN_ERR "Bogus length %zu in image \"%s\"\n", fw->size, ql1280_board_tbl[ha->devnum].fwname); err = -EINVAL; goto out; --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html