]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:02 +0000 (08:32 -0800)
commit1a9ada4368235ce7669a47264207a4cb69b57edb
treec1c9a7c97cf113887e4798e468207d062aef96a2
parentac1f0bc859c26a50ba6d0571a2efa6000694ecb6
i40e: fixup padding issue in get_cee_dcb_cfg_v1_resp

Orabug: 22342532

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>
(cherry picked from commit 17351401fec6df1e6032054cd3c2ea03ad917a92)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h