summaryrefslogtreecommitdiffstats
path: root/drivers/sfi
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <kw@linux.com>2019-09-04 16:17:30 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-05 12:38:22 +0200
commitee4c3deac70dcc8c727a4192d9a7a56593f02121 (patch)
tree110f99ec08d34bcd1f79ff7e54e3575928188a6e /drivers/sfi
parentpppoatm: use %*ph to print small buffer (diff)
downloadlinux-ee4c3deac70dcc8c727a4192d9a7a56593f02121.tar.xz
linux-ee4c3deac70dcc8c727a4192d9a7a56593f02121.zip
net: qed: Move static keyword to the front of declaration
Move the static keyword to the front of declaration of iwarp_state_names, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/net/ethernet/qlogic/qed/qed_iwarp.c:385:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] Also, resolve checkpatch.pl script warning: WARNING: static const char * array should probably be static const char * const Signed-off-by: Krzysztof Wilczynski <kw@linux.com> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions