Loading drivers/staging/hv/storvsc.c +30 −36 Original line number Diff line number Diff line Loading @@ -213,8 +213,7 @@ static int StorVscChannelInit(struct hv_device *Device) DPRINT_INFO(STORVSC, "BEGIN_INITIALIZATION_OPERATION..."); ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -245,8 +244,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->Version.MajorMinor = VMSTOR_PROTOCOL_VERSION_CURRENT; FILL_VMSTOR_REVISION(vstorPacket->Version.Revision); ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -277,8 +275,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->StorageChannelProperties.PortNumber = storDevice->PortNumber; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -314,8 +311,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->Operation = VStorOperationEndInitialization; vstorPacket->Flags = REQUEST_COMPLETION_FLAG; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -638,8 +634,7 @@ int StorVscOnHostReset(struct hv_device *Device) vstorPacket->Flags = REQUEST_COMPLETION_FLAG; vstorPacket->VmSrb.PathId = storDevice->PathId; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)&storDevice->ResetRequest, VmbusPacketTypeDataInBand, Loading Loading @@ -741,8 +736,7 @@ static int StorVscOnIORequest(struct hv_device *Device, sizeof(struct vstor_packet), (unsigned long)requestExtension); } else { ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)requestExtension, VmbusPacketTypeDataInBand, Loading Loading
drivers/staging/hv/storvsc.c +30 −36 Original line number Diff line number Diff line Loading @@ -213,8 +213,7 @@ static int StorVscChannelInit(struct hv_device *Device) DPRINT_INFO(STORVSC, "BEGIN_INITIALIZATION_OPERATION..."); ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -245,8 +244,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->Version.MajorMinor = VMSTOR_PROTOCOL_VERSION_CURRENT; FILL_VMSTOR_REVISION(vstorPacket->Version.Revision); ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -277,8 +275,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->StorageChannelProperties.PortNumber = storDevice->PortNumber; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -314,8 +311,7 @@ static int StorVscChannelInit(struct hv_device *Device) vstorPacket->Operation = VStorOperationEndInitialization; vstorPacket->Flags = REQUEST_COMPLETION_FLAG; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)request, VmbusPacketTypeDataInBand, Loading Loading @@ -638,8 +634,7 @@ int StorVscOnHostReset(struct hv_device *Device) vstorPacket->Flags = REQUEST_COMPLETION_FLAG; vstorPacket->VmSrb.PathId = storDevice->PathId; ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)&storDevice->ResetRequest, VmbusPacketTypeDataInBand, Loading Loading @@ -741,8 +736,7 @@ static int StorVscOnIORequest(struct hv_device *Device, sizeof(struct vstor_packet), (unsigned long)requestExtension); } else { ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, vstorPacket, ret = vmbus_sendpacket(Device->channel, vstorPacket, sizeof(struct vstor_packet), (unsigned long)requestExtension, VmbusPacketTypeDataInBand, Loading