[PATCH 2/2] skd: Restricted pr_debug() lines to 80 characters
From: rchinthekindi
Date: Tue Oct 01 2013 - 08:19:58 EST
Restricted pr_debug() lines to 80 characters
Signed-off-by: Ramprasad C <ramprasad.chinthekindi@xxxxxxxx>
---
drivers/block/skd_main.c | 29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index 9646dcf..30bc45e 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -864,7 +864,8 @@ static void skd_request_fn(struct request_queue *q)
skmsg = skdev->skmsg_free_list;
if (skmsg == NULL) {
pr_debug("%s:%s:%d Out of msg skdev=%p\n",
- skdev->name, __func__, __LINE__, skdev);
+ skdev->name, __func__, __LINE__,
+ skdev);
break;
}
SKD_ASSERT(skmsg->state == SKD_MSG_STATE_IDLE);
@@ -1858,7 +1859,8 @@ static int skd_sg_io_obtain_skspcl(struct skd_device *skdev,
break;
}
- pr_debug("%s:%s:%d blocking\n", skdev->name, __func__, __LINE__);
+ pr_debug("%s:%s:%d blocking\n",
+ skdev->name, __func__, __LINE__);
rc = wait_event_interruptible_timeout(
skdev->waitq,
@@ -2370,9 +2372,10 @@ static void skd_complete_internal(struct skd_device *skdev,
skd_send_internal_skspcl(skdev, skspcl, WRITE_BUFFER);
else {
if (skdev->state == SKD_DRVR_STATE_STOPPING) {
- pr_debug("%s:%s:%d TUR failed, don't send anymore"
- "state 0x%x\n",
- skdev->name, __func__, __LINE__, skdev->state);
+ pr_debug("%s:%s:%d TUR failed, don't send"
+ " anymore state 0x%x\n",
+ skdev->name, __func__, __LINE__,
+ skdev->state);
return;
}
pr_debug("%s:%s:%d **** TUR failed, retry skerr\n",
@@ -2386,9 +2389,10 @@ static void skd_complete_internal(struct skd_device *skdev,
skd_send_internal_skspcl(skdev, skspcl, READ_BUFFER);
else {
if (skdev->state == SKD_DRVR_STATE_STOPPING) {
- pr_debug("%s:%s:%d write buffer failed, don't send"
- " anymore state 0x%x\n",
- skdev->name, __func__, __LINE__, skdev->state);
+ pr_debug("%s:%s:%d write buffer failed,"
+ " don't send anymore state 0x%x\n",
+ skdev->name, __func__, __LINE__,
+ skdev->state);
return;
}
pr_debug("%s:%s:%d "
@@ -3700,11 +3704,13 @@ static void skd_recover_requests(struct skd_device *skdev, int requeue)
if (skspcl->req.state == SKD_REQ_STATE_BUSY) {
if (skspcl->orphaned) {
pr_debug("%s:%s:%d orphaned %p\n",
- skdev->name, __func__, __LINE__, skspcl);
+ skdev->name, __func__, __LINE__,
+ skspcl);
skd_release_special(skdev, skspcl);
} else {
pr_debug("%s:%s:%d not orphaned %p\n",
- skdev->name, __func__, __LINE__, skspcl);
+ skdev->name, __func__, __LINE__,
+ skspcl);
skspcl->req.state = SKD_REQ_STATE_ABORTED;
}
}
@@ -4615,7 +4621,8 @@ static struct skd_device *skd_construct(struct pci_dev *pdev)
return skdev;
err_out:
- pr_debug("%s:%s:%d construct failed\n", skdev->name, __func__, __LINE__);
+ pr_debug("%s:%s:%d construct failed\n",
+ skdev->name, __func__, __LINE__);
skd_destruct(skdev);
return NULL;
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/