commit | f50332ff2574130903356e800913c1a73cc6c1dc | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Wed Dec 03 00:10:54 2014 +0100 |
committer | James Bottomley <JBottomley@Parallels.com> | Mon Feb 02 09:57:46 2015 -0800 |
tree | 89f06badf4e0f42bc26f150d89101efde0dea82e | |
parent | 3d30079c3a9000504cf71e4e8dd94619070dc4f3 [diff] |
scsi: print single-character strings with seq_putc 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>