From: Arnd Bergmann <a...@arndb.de>
Date: Fri,  3 Nov 2017 13:52:24 +0100

> 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 <a...@arndb.de>

Applied, thanks.

Reply via email to