diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-03 12:52:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-05 13:13:00 +0000 |
| commit | f21506cb42112b1c0b391dae7a700e69a42128e8 (patch) | |
| tree | 7c6bbad4b292f4b09056d2696e99074629d61c69 /net/ipv4/tcp_timer.c | |
| parent | Merge branch 'openvswitch-netns' (diff) | |
| download | kernel-f21506cb42112b1c0b391dae7a700e69a42128e8.tar.gz kernel-f21506cb42112b1c0b391dae7a700e69a42128e8.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
