]> git.baikalelectronics.ru Git - kernel.git/commit
net: i40e: shut up uninitialized variable warnings
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Jan 2016 03:53:17 +0000 (19:53 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Jan 2016 23:49:36 +0000 (15:49 -0800)
commit5d163a71cc0e73eef6aadb48df19d231f5c7394f
treeec3bf6f3134a902c5efdce56d195cc6c16047dca
parent482dc61980b622496c2b0453bb64f4583a8c201a
net: i40e: shut up uninitialized variable warnings

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@arndb.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c