提交 288ccb75 编写于 作者: T Thomas Falcon 提交者: David S. Miller

ibmvnic: Fix incorrectly defined ibmvnic_request_map_rsp structure

This reserved area should be eight bytes in length instead of four.
As a result, the return codes in the REQUEST_MAP_RSP descriptors
were not being properly handled.
Signed-off-by: NThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8fac365f
...@@ -595,7 +595,7 @@ struct ibmvnic_request_map_rsp { ...@@ -595,7 +595,7 @@ struct ibmvnic_request_map_rsp {
u8 cmd; u8 cmd;
u8 reserved1; u8 reserved1;
u8 map_id; u8 map_id;
u8 reserved2[4]; u8 reserved2[8];
struct ibmvnic_rc rc; struct ibmvnic_rc rc;
} __packed __aligned(8); } __packed __aligned(8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册