Re: [PATCH] scsi: hpsa: use %phN for short hex dumps

From: Martin K. Petersen
Date: Mon Dec 05 2016 - 17:06:22 EST


>>>>> "Rasmus" == Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> writes:

Rasmus> Passing one instead of 8 or 16 arguments reduces the size of the
Rasmus> generated code somewhat:

Rasmus> add/remove: 2/3 grow/shrink: 1/4 up/down: 1772/-2137 (-365)

Rasmus> There's one more candidate, unique_id_show, but that uses %02X,
Rasmus> and I'm not sure it would be ok to start using lowercase there,
Rasmus> so I've left it alone for now.

Applied to 4.10/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering