[SCSI] qla4xxx: Fix qla4xxx_dump_buffer to dump buffer correctly

KERN_INFO in printk adding new line character that mess-up
dump print format. Remove KERN_INFO to fix dump format.

Signed-off-by: Vikas Chaudhary <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
Vikas Chaudhary 2011-12-01 22:42:12 -08:00 • committed by James Bottomley
commit 0a24361566

View file

@ -20,12 +20,12 @@ void qla4xxx_dump_buffer(void *b, uint32_t size)
printk("------------------------------------------------------------"
"--\n");
for (cnt = 0; cnt < size; c++) {
printk(KERN_INFO "%02x", *c);
printk("%02x", *c);
if (!(++cnt % 16))
printk(KERN_INFO "\n");
printk("\n");
else
printk(KERN_INFO " ");
printk(" ");
}
printk(KERN_INFO "\n");
}