Commit 0686e4f4 authored by Lars Lindley's avatar Lars Lindley Committed by Greg Kroah-Hartman

Staging: hv: trivial whitespace fixes found by checkpatch.pl

Signed-off-by: default avatarLars Lindley <lindley@coyote.org>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 25f1a98b
...@@ -1087,7 +1087,7 @@ static void NetVscOnReceive(struct hv_device *Device, ...@@ -1087,7 +1087,7 @@ static void NetVscOnReceive(struct hv_device *Device,
} }
/* Remove the 1st packet to represent the xfer page packet itself */ /* Remove the 1st packet to represent the xfer page packet itself */
xferpagePacket = (struct xferpage_packet*)listHead.next; xferpagePacket = (struct xferpage_packet *)listHead.next;
list_del(&xferpagePacket->ListEntry); list_del(&xferpagePacket->ListEntry);
/* This is how much we can satisfy */ /* This is how much we can satisfy */
...@@ -1103,7 +1103,7 @@ static void NetVscOnReceive(struct hv_device *Device, ...@@ -1103,7 +1103,7 @@ static void NetVscOnReceive(struct hv_device *Device,
/* Each range represents 1 RNDIS pkt that contains 1 ethernet frame */ /* Each range represents 1 RNDIS pkt that contains 1 ethernet frame */
for (i = 0; i < (count - 1); i++) { for (i = 0; i < (count - 1); i++) {
netvscPacket = (struct hv_netvsc_packet*)listHead.next; netvscPacket = (struct hv_netvsc_packet *)listHead.next;
list_del(&netvscPacket->ListEntry); list_del(&netvscPacket->ListEntry);
/* Initialize the netvsc packet */ /* Initialize the netvsc packet */
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
/* Amount of space to write to */ /* Amount of space to write to */
#define BYTES_AVAIL_TO_WRITE(r, w, z) ((w) >= (r))?((z) - ((w) - (r))):((r) - (w)) #define BYTES_AVAIL_TO_WRITE(r, w, z) ((w) >= (r)) ? ((z) - ((w) - (r))) : ((r) - (w))
/*++ /*++
......
...@@ -555,7 +555,7 @@ static int blkvsc_do_inquiry(struct block_device_context *blkdev) ...@@ -555,7 +555,7 @@ static int blkvsc_do_inquiry(struct block_device_context *blkdev)
blkdev->device_type = UNKNOWN_DEV_TYPE; blkdev->device_type = UNKNOWN_DEV_TYPE;
} }
DPRINT_DBG(BLKVSC_DRV, "device type %d \n", device_type); DPRINT_DBG(BLKVSC_DRV, "device type %d\n", device_type);
blkdev->device_id_len = buf[7]; blkdev->device_id_len = buf[7];
if (blkdev->device_id_len > 64) if (blkdev->device_id_len > 64)
...@@ -940,7 +940,7 @@ static int blkvsc_do_request(struct block_device_context *blkdev, ...@@ -940,7 +940,7 @@ static int blkvsc_do_request(struct block_device_context *blkdev,
int pending = 0; int pending = 0;
struct blkvsc_request_group *group = NULL; struct blkvsc_request_group *group = NULL;
DPRINT_DBG(BLKVSC_DRV, "blkdev %p req %p sect %lu \n", blkdev, req, DPRINT_DBG(BLKVSC_DRV, "blkdev %p req %p sect %lu\n", blkdev, req,
(unsigned long)blk_rq_pos(req)); (unsigned long)blk_rq_pos(req));
/* Create a group to tie req to list of blkvsc_reqs */ /* Create a group to tie req to list of blkvsc_reqs */
...@@ -1144,7 +1144,7 @@ static void blkvsc_request_completion(struct hv_storvsc_request *request) ...@@ -1144,7 +1144,7 @@ static void blkvsc_request_completion(struct hv_storvsc_request *request)
&blkvsc_req->group->blkvsc_req_list, &blkvsc_req->group->blkvsc_req_list,
req_entry) { req_entry) {
DPRINT_DBG(BLKVSC_DRV, "completing blkvsc_req %p " DPRINT_DBG(BLKVSC_DRV, "completing blkvsc_req %p "
"sect_start %lu sect_count %ld \n", "sect_start %lu sect_count %ld\n",
comp_req, comp_req,
(unsigned long)comp_req->sector_start, (unsigned long)comp_req->sector_start,
comp_req->sector_count); comp_req->sector_count);
...@@ -1198,7 +1198,7 @@ static int blkvsc_cancel_pending_reqs(struct block_device_context *blkdev) ...@@ -1198,7 +1198,7 @@ static int blkvsc_cancel_pending_reqs(struct block_device_context *blkdev)
&pend_req->group->blkvsc_req_list, &pend_req->group->blkvsc_req_list,
req_entry) { req_entry) {
DPRINT_DBG(BLKVSC_DRV, "completing blkvsc_req %p " DPRINT_DBG(BLKVSC_DRV, "completing blkvsc_req %p "
"sect_start %lu sect_count %ld \n", "sect_start %lu sect_count %ld\n",
comp_req, comp_req,
(unsigned long) comp_req->sector_start, (unsigned long) comp_req->sector_start,
comp_req->sector_count); comp_req->sector_count);
...@@ -1276,7 +1276,7 @@ static void blkvsc_request(struct request_queue *queue) ...@@ -1276,7 +1276,7 @@ static void blkvsc_request(struct request_queue *queue)
struct request *req; struct request *req;
int ret = 0; int ret = 0;
DPRINT_DBG(BLKVSC_DRV, "- enter \n"); DPRINT_DBG(BLKVSC_DRV, "- enter\n");
while ((req = blk_peek_request(queue)) != NULL) { while ((req = blk_peek_request(queue)) != NULL) {
DPRINT_DBG(BLKVSC_DRV, "- req %p\n", req); DPRINT_DBG(BLKVSC_DRV, "- req %p\n", req);
......
...@@ -767,7 +767,7 @@ static int storvsc_queuecommand(struct scsi_cmnd *scmnd, ...@@ -767,7 +767,7 @@ static int storvsc_queuecommand(struct scsi_cmnd *scmnd,
request->DataBuffer.Offset = sgl[0].offset; request->DataBuffer.Offset = sgl[0].offset;
for (i = 0; i < scsi_sg_count(scmnd); i++) { for (i = 0; i < scsi_sg_count(scmnd); i++) {
DPRINT_DBG(STORVSC_DRV, "sgl[%d] len %d offset %d \n", DPRINT_DBG(STORVSC_DRV, "sgl[%d] len %d offset %d\n",
i, sgl[i].length, sgl[i].offset); i, sgl[i].length, sgl[i].offset);
request->DataBuffer.PfnArray[i] = request->DataBuffer.PfnArray[i] =
page_to_pfn(sg_page((&sgl[i]))); page_to_pfn(sg_page((&sgl[i])));
......
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