]> 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)
commit8bbb1496156ff53d9f02166a4b8eedca46bea8e6
tree3c2e0c99d035fe2e9cf511368923b8fd4b860a18
parent176aad72dd6a967ea9a13ce0cdae79501df6325d
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