The driver does not compile under DEBUG_QLA1280 flag:Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
- Debug statements expect an integer for printing a SCSI lun value, but
its size is 64b. So change SCSI_LUN_32() to cast to an int, as would be
expected from a "_32" function.
- lower_32_bits() expects %x, as opposed to %lx, so fix that.
Also delete ql1280_dump_device(), which looks to have never been
referenced.
Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
---
drivers/scsi/qla1280.c | 27 ++-------------------------
1 file changed, 2 insertions(+), 25 deletions(-)