Merge branch 'qed-warnings-cleanup'
authorDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2020 20:18:56 +0000 (13:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2020 20:18:56 +0000 (13:18 -0700)
commit1eafa7369f170ac7dbe06a3774e642084051d475
tree2cefdc21fe5215aeb3b9be1d199fbd251c775e18
parent9e06e8596bc87cad9dd18869a1b1b42132170dd9
parentfd0816628a5a60a6d3719281d5c14d3aa45eaba1
Merge branch 'qed-warnings-cleanup'

Alexander Lobakin says:

====================
net: qed/qede: W=1 C=1 warnings cleanup

This set cleans qed/qede build log under W=1 C=1 with GCC 8 and
sparse 0.6.2. The only thing left is "context imbalance -- unexpected
unlock" in one of the source files, which will be issued later during
the refactoring cycles.

The biggest part is handling the endianness warnings. The current code
often just assumes that both host and device operate in LE, which is
obviously incorrect (despite the fact that it's true for x86 platforms),
and makes sparse {s,m}ad.

The rest of the series is mostly random non-functional fixes
here-and-there.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>