Re: [PATCH 2/2] IB/qib: Move char *qib_sdma_state_names[] and constify while there.

From: Dennis Dalessandro
Date: Sat Mar 03 2018 - 10:31:55 EST


On 2/27/2018 5:05 PM, HernÃn Gonzalez wrote:
Note: This is compile only tested as I have no access to the hw.
This variable was not used in qib_sdma.c but in qib_iba7322.c. Declaring it
there, as static, saves 56 bytes.

add/remove: 0/2 grow/shrink: 0/0 up/down: 0/-144 (-144)
Function old new delta
qib_sdma_state_names 56 - -56
qib_sdma_event_names 88 - -88
Total: Before=2874565, After=2874421, chg -0.01%

Signed-off-by: HernÃn Gonzalez <hernan@xxxxxxxxxxxxxxxxxxxx>

Looks OK to me, thanks.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>