git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d30079
)
scsi: print single-character strings with seq_putc
author
Rasmus Villemoes
<linux@rasmusvillemoes.dk>
Tue, 2 Dec 2014 23:10:54 +0000
(
00:10
+0100)
committer
James 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