Skip to content

Commit 83d1e8b

Browse files
kattisrinivasanmartinkpetersen
authored andcommitted
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: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Long Li <longli@microsoft.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Alex Ng <alexng@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent c56f5f1 commit 83d1e8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/scsi/storvsc_drv.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ enum vstor_packet_operation {
9292
*/
9393

9494
struct hv_fc_wwn_packet {
95-
bool primary_active;
96-
u8 reserved1;
97-
u8 reserved2;
95+
u8 primary_active;
96+
u8 reserved1[3];
9897
u8 primary_port_wwn[8];
9998
u8 primary_node_wwn[8];
10099
u8 secondary_port_wwn[8];

0 commit comments

Comments
 (0)