be2net: Fix the size of be_nic_res_desc structure
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 27 Sep 2013 20:17:31 +0000 (15:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2013 21:11:49 +0000 (17:11 -0400)
Size of be_nic_res_desc structure is incorrect. Fix it.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.h

index d026226db88ccac0fcc70497ce2c8f6ef7b3e614..51a93bd4d4c0ad559a52ac0b2cf0668c3e6c7b81 100644 (file)
@@ -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 {