Re: [PATCH] qlogic/qed: Constify *pkt_type_str[]

From: David Miller
Date: Wed Feb 28 2018 - 11:40:12 EST


From: Hernán Gonzalez <hernan@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Feb 2018 19:31:34 -0300

> Note: This is compile only tested as I have no access to the hw.
> Constifying and declaring as static saves 24 bytes.
>
> add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-24 (-24)
> Function old new delta
> pkt_type_str 24 - -24
> Total: Before=3599256, After=3599232, chg -0.00%
>
> Signed-off-by: Hernán Gonzalez <hernan@xxxxxxxxxxxxxxxxxxxx>

Applied to net-next.