[Intel-wired-lan] [PATCH] net: i40e: shut up uninitialized variable warnings
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Jan 21 17:31:08 UTC 2016
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Wednesday, January 20, 2016 7:53 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Arnd Bergmann <arnd at arndb.de>
> Subject: [Intel-wired-lan] [PATCH] net: i40e: shut up uninitialized variable
> warnings
>
> From: Arnd Bergmann <arnd at arndb.de>
>
> intel/i40e/i40e_txrx.c: In function 'i40e_xmit_frame_ring':
> intel/i40e/i40e_txrx.c:2367:20: error: 'oiph' may be used uninitialized in this
> function [-Werror=maybe-uninitialized]
> intel/i40e/i40e_txrx.c:2317:16: note: 'oiph' was declared here
> intel/i40e/i40e_txrx.c:2367:17: error: 'oudph' may be used uninitialized in this
> function [-Werror=maybe-uninitialized]
> intel/i40e/i40e_txrx.c:2316:17: note: 'oudph' was declared here
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, no build warnings
More information about the Intel-wired-lan
mailing list