public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines
@ 2010-03-13 21:01 Steven Harms
  2010-04-27 21:39 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Harms @ 2010-03-13 21:01 UTC (permalink / raw)
  To: gregkh, wfp5p, hjanssen, haiyangz, npalix; +Cc: devel, linux-kernel, sharms

Remove warnings for newlines with spaces before them, as indicated by the checkpatch.pl tool.
Signed-off-by: Steven Harms <sharms@ubuntu.com>
---
 drivers/staging/hv/blkvsc_drv.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c
index abeac12..345ce9e 100644
--- a/drivers/staging/hv/blkvsc_drv.c
+++ b/drivers/staging/hv/blkvsc_drv.c
@@ -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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines
  2010-03-13 21:01 [PATCH] STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines Steven Harms
@ 2010-04-27 21:39 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-04-27 21:39 UTC (permalink / raw)
  To: Steven Harms
  Cc: gregkh, wfp5p, hjanssen, haiyangz, npalix, devel, linux-kernel,
	sharms

On Sat, Mar 13, 2010 at 04:01:12PM -0500, Steven Harms wrote:
> Remove warnings for newlines with spaces before them, as indicated by the checkpatch.pl tool.
> Signed-off-by: Steven Harms <sharms@ubuntu.com>

Sorry, someone else already sent in this patch before you :(

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-27 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13 21:01 [PATCH] STAGING: hv: Update blkvsc_drive.c to remove spaces before newlines Steven Harms
2010-04-27 21:39 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox