diff options
author | Suresh Reddy <Suresh.Reddy@emulex.com> | 2014-09-19 15:46:52 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 15:01:07 -0400 |
commit | 72d7e2bf8f4c4f126b352bfbb67a64348623e31e (patch) | |
tree | 43cf2cf1137d9c2fae58010c9bbe278de69572da /drivers/net/ethernet/emulex/benet | |
parent | b502ae8d9cbbbf4ad822571537b9e17173d9c8b8 (diff) |
be2net: fix sparse warnings in be_cmd_req_port_type{}
This patch fixes a sprase warnings regarding endian declarations introduced
by the following commit:
fixes: e36edd9 ("be2net: add ethtool "-m" option support")
Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_cmds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.h b/drivers/net/ethernet/emulex/benet/be_cmds.h index e86a5ef439dd..b064c502287e 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.h +++ b/drivers/net/ethernet/emulex/benet/be_cmds.h @@ -1005,8 +1005,8 @@ struct be_cmd_resp_link_status { /* Identifies the type of port attached to NIC */ struct be_cmd_req_port_type { struct be_cmd_req_hdr hdr; - u32 page_num; - u32 port; + __le32 page_num; + __le32 port; }; enum { |