提交 83d1e8b9 编写于 作者: K K. Y. Srinivasan 提交者: Martin K. Petersen

storvsc: Fix a bug in the layout of the hv_fc_wwn_packet

The hv_fc_wwn_packet is exchanged over vmbus. Make the definition in
Linux match the Windows definition.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: NLong Li <longli@microsoft.com>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Tested-by: NAlex Ng <alexng@microsoft.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 c56f5f1d
...@@ -92,9 +92,8 @@ enum vstor_packet_operation { ...@@ -92,9 +92,8 @@ enum vstor_packet_operation {
*/ */
struct hv_fc_wwn_packet { struct hv_fc_wwn_packet {
bool primary_active; u8 primary_active;
u8 reserved1; u8 reserved1[3];
u8 reserved2;
u8 primary_port_wwn[8]; u8 primary_port_wwn[8];
u8 primary_node_wwn[8]; u8 primary_node_wwn[8];
u8 secondary_port_wwn[8]; u8 secondary_port_wwn[8];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册