linux/drivers/net/ethernet/freescale/dpaa
Arnd Bergmann f21506cb42 dpaa_eth: avoid uninitialized variable false-positive warning
We can now build this driver on ARM, so I ran into a randconfig build
warning that presumably had existed on powerpc already.

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function 'sg_fd_to_skb':
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:1712:18: error: 'skb' may be used uninitialized in this function [-Werror=maybe-uninitialized]

I'm slightly changing the logic here, to make it obvious to the
compiler that 'skb' is always initialized.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-05 22:13:00 +09:00
..
dpaa_eth_sysfs.c dpaa_eth: use multiple Rx frame queues 2017-08-28 16:41:00 -07:00
dpaa_eth_trace.h dpaa_eth: add trace points 2016-11-15 22:34:25 -05:00
dpaa_eth.c dpaa_eth: avoid uninitialized variable false-positive warning 2017-11-05 22:13:00 +09:00
dpaa_eth.h dpaa_eth: add NETIF_F_RXHASH 2017-08-28 16:41:00 -07:00
dpaa_ethtool.c dpaa_eth: add NETIF_F_RXHASH 2017-08-28 16:41:00 -07:00
Kconfig dpaa_eth: remove redundant dependency on FSL_SOC 2016-12-17 11:42:45 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00