qede: Fix sparse warnings
authorManish Chopra <Manish.Chopra@cavium.com>
Tue, 23 May 2017 06:41:18 +0000 (09:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2017 19:17:19 +0000 (15:17 -0400)
commit48848a0690a36d0248255f6c3b7b6fd2a9948a57
tree5cf23bcb580395eb936781d371e36178222365f1
parent417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a
qede: Fix sparse warnings

Solves the following warning in qede -
 - Several cases of missing cpu_to_le16() conversions
 - Adds 'static' to one function declaration
 - Removes dcbnl operation that's currently getting populated twice

Signed-off-by: Manish Chopra <Manish.Chopra@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
drivers/net/ethernet/qlogic/qede/qede_fp.c
drivers/net/ethernet/qlogic/qede/qede_roce.c