mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c56f5f1de3
commit
83d1e8b9b5
|
@ -92,9 +92,8 @@ enum vstor_packet_operation {
|
|||
*/
|
||||
|
||||
struct hv_fc_wwn_packet {
|
||||
bool primary_active;
|
||||
u8 reserved1;
|
||||
u8 reserved2;
|
||||
u8 primary_active;
|
||||
u8 reserved1[3];
|
||||
u8 primary_port_wwn[8];
|
||||
u8 primary_node_wwn[8];
|
||||
u8 secondary_port_wwn[8];
|
||||
|
|
Loading…
Reference in New Issue