diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2016-12-01 01:35:47 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-06 01:05:34 +0300 |
commit | 609a70df07af1ff857257fb2e93c3ef281e30710 (patch) | |
tree | ef2f0d6ff3bce32a26036e10a80cbc5b9486fca7 /drivers/scsi/device_handler | |
parent | d37a0082919360dda828679cccb5c4e8e83ec199 (diff) | |
download | linux-609a70df07af1ff857257fb2e93c3ef281e30710.tar.xz |
scsi: hpsa: use %phN for short hex dumps
Passing one instead of 8 or 16 arguments reduces the size of the
generated code somewhat:
add/remove: 2/3 grow/shrink: 1/4 up/down: 1772/-2137 (-365)
There's one more candidate, unique_id_show, but that uses %02X, and I'm
not sure it would be ok to start using lowercase there, so I've left it
alone for now.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/device_handler')
0 files changed, 0 insertions, 0 deletions