Commit 72d7e2bf authored by Suresh Reddy's avatar Suresh Reddy Committed by David S. Miller

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: e36edd9d ("be2net: add ethtool "-m" option support")
Signed-off-by: default avatarSuresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b502ae8d
...@@ -1005,8 +1005,8 @@ struct be_cmd_resp_link_status { ...@@ -1005,8 +1005,8 @@ struct be_cmd_resp_link_status {
/* Identifies the type of port attached to NIC */ /* Identifies the type of port attached to NIC */
struct be_cmd_req_port_type { struct be_cmd_req_port_type {
struct be_cmd_req_hdr hdr; struct be_cmd_req_hdr hdr;
u32 page_num; __le32 page_num;
u32 port; __le32 port;
}; };
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment