]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit17351401fec6df1e6032054cd3c2ea03ad917a92
tree3c2e0c99d035fe2e9cf511368923b8fd4b860a18
parentd9b68f8aba0ae3f9ab6c5dec4ae1052b7e26c53c
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