Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a243615 authored by Vikas Chaudhary's avatar Vikas Chaudhary Committed by James Bottomley
Browse files

[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: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent e3f37d16
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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");
}