]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fixup padding issue in get_cee_dcb_cfg_v1_resp
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 23 Jul 2015 20:54:32 +0000 (16:54 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:19:01 +0000 (05:19 -0700)
commit5d01c25e94116f85b1cd63c9f830441069212d44
tree3c2e0c99d035fe2e9cf511368923b8fd4b860a18
parent44fc6ecb9675bd3b00b7744aeffcbb076fcc9249
i40e: fixup padding issue in get_cee_dcb_cfg_v1_resp

The struct i40e_aqc_get_cee_dcb_cfg_v1_resp was originally defined with
word boundary layout issues, which most compilers deal with by silently
adding padding, making the actual struct larger than designed.
This patch adds an extra byte in fields reserved3 and reserved4 to directly
acknowledge that padding.

Because the struct doesn't actually change in size or layout, this doesn't
constitute a change in the API.

Change-ID: I53fa4741b73fa255621232a85fba000b0e223015
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h