STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines
PATCH 1/1 STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines
Remove warnings for newlines with spaces before them, as indicated by the checkpatch.pl tool.
Signed-off-by Steven Harms <[email protected]>
--- drivers/staging/hv/blkvsc_drv.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
drivers/staging/hv/blkvsc_drv.c +5 -5
@@ -554,7 +554,7 @@ static int blkvsc_do_inquiry(struct block_device_context *blkdev) 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 ];if (blkdev->device_id_len >64 )
@@ -939,7 +939,7 @@ static int blkvsc_do_request(struct block_device_context *blkdev,int pending =0 ;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));/* Create a group to tie req to list of blkvsc_reqs */
@@ -1143,7 +1143,7 @@ static void blkvsc_request_completion(struct hv_storvsc_request *request) &blkvsc_req->group->blkvsc_req_list, req_entry) {DPRINT_DBG (BLKVSC_DRV ,"completing blkvsc_req %p " -"sect_start %lu sect_count %ld \n" , +"sect_start %lu sect_count %ld\n" , comp_req, (unsigned long )comp_req->sector_start, comp_req->sector_count);
@@ -1197,7 +1197,7 @@ static int blkvsc_cancel_pending_reqs(struct block_device_context *blkdev) &pend_req->group->blkvsc_req_list, req_entry) {DPRINT_DBG (BLKVSC_DRV ,"completing blkvsc_req %p " -"sect_start %lu sect_count %ld \n" , +"sect_start %lu sect_count %ld\n" , comp_req, (unsigned long ) comp_req->sector_start, comp_req->sector_count);
@@ -1275,7 +1275,7 @@ static void blkvsc_request(struct request_queue *queue)struct request *req;int ret =0 ; -DPRINT_DBG (BLKVSC_DRV ,"- enter \n" ); +DPRINT_DBG (BLKVSC_DRV ,"- enter\n" );while ((req =blk_peek_request (queue)) !=NULL ) {DPRINT_DBG (BLKVSC_DRV ,"- req %p\n" , req);
--
1.6.3.3
Quoted 2 lines · Steven Harms
Remove warnings for newlines with spaces before them, as indicated by the checkpatch.pl tool.
Signed-off-by Steven Harms <[email protected]>
Sorry, someone else already sent in this patch before you :(
greg k-h