From: Suresh Reddy Date: Fri, 19 Sep 2014 10:16:52 +0000 (+0530) Subject: be2net: fix sparse warnings in be_cmd_req_port_type{} X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=72d7e2bf8f4c4f126b352bfbb67a64348623e31e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- 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 {