]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: fix uninitialized variable warnings
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 12 Oct 2018 16:27:33 +0000 (16:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:23:19 +0000 (22:23 -0700)
commit11118518753ebe795f82585cc88be4f3ce4aa38e
tree2c5b56dd04713212bd33d680c342960c94a2f0f8
parenta0bb670bd33f37d0d9a22191ccdcec4f2791fc41
dpaa2-eth: fix uninitialized variable warnings

All 3 cases of possible uninitialized variables are false
positives since they are used only as output parameters.
Nonetheless, fix the warnings.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c