Patchwork [net,2/7] be2net: Fix the size of be_nic_res_desc structure

login
register
mail settings
Submitter Ajit Khaparde
Date Sept. 27, 2013, 8:17 p.m.
Message ID <20130927201731.GA4531@emulex.com>
Download mbox | patch
Permalink /patch/278676/
State Accepted
Delegated to: David Miller
Headers show

Comments

Ajit Khaparde - Sept. 27, 2013, 8:17 p.m.
Size of be_nic_res_desc structure is incorrect. Fix it.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
---
 drivers/net/ethernet/emulex/benet/be_cmds.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.h b/drivers/net/ethernet/emulex/benet/be_cmds.h
index d026226..51a93bd 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.h
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.h
@@ -1791,7 +1791,7 @@  struct be_nic_res_desc {
 	u8 acpi_params;
 	u8 wol_param;
 	u16 rsvd7;
-	u32 rsvd8[3];
+	u32 rsvd8[7];
 } __packed;
 
 struct be_cmd_req_get_func_config {