Commit 83d1e8b9 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by 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: default avatarK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarLong Li <longli@microsoft.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Tested-by: default avatarAlex Ng <alexng@microsoft.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment