scsi: hpsa: use %phN for short hex dumps
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 30 Nov 2016 22:35:47 +0000 (23:35 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 5 Dec 2016 22:05:34 +0000 (17:05 -0500)
commit609a70df07af1ff857257fb2e93c3ef281e30710
treeef2f0d6ff3bce32a26036e10a80cbc5b9486fca7
parentd37a0082919360dda828679cccb5c4e8e83ec199
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>
drivers/scsi/hpsa.c