scsi: print single-character strings with seq_putc
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 2 Dec 2014 23:10:54 +0000 (00:10 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:46 +0000 (09:57 -0800)
Using seq_putc to print a single character saves at least a strlen()
call and a memory access, and may also give a small .text reduction.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>

No differences found