Re: [PATCH v2 6/6] scsi: misc: Print single-character strings with seq_putc

2015-01-29 Thread Finn Thain
Reviewed-by: Finn Thain For the NCR5380 bits: Acked-by: Finn Thain On Wed, 3 Dec 2014, Rasmus Villemoes wrote: > 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

[PATCH v2 6/6] scsi: misc: Print single-character strings with seq_putc

2014-12-02 Thread Rasmus Villemoes
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 --- drivers/scsi/NCR5380.c | 2 +- drivers/scsi/advansys.c | 34 +-