diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-07-21 18:46:00 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:05:28 -0400 |
commit | 457ff3b7dc3796d8778286217ad304ff122e948f (patch) | |
tree | 32a0a7e6c67d2bb564efc9238abefa9239d38c72 /drivers/scsi/be2iscsi/be_mgmt.c | |
parent | bbe56c734cc1ecccd7b2b143e1767bf2b1eafc76 (diff) |
[SCSI] be2iscsi: Fix warnings from new checkpatch.pl
The latest checkpatch.pl throws some new warnings. Fixing it
to get rid of a bunch of warnings
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_mgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c index 350cbeaae16..7d4ac5c1a86 100644 --- a/drivers/scsi/be2iscsi/be_mgmt.c +++ b/drivers/scsi/be2iscsi/be_mgmt.c | |||
@@ -58,7 +58,7 @@ unsigned char mgmt_get_fw_config(struct be_ctrl_info *ctrl, | |||
58 | } | 58 | } |
59 | } else { | 59 | } else { |
60 | shost_printk(KERN_WARNING, phba->shost, | 60 | shost_printk(KERN_WARNING, phba->shost, |
61 | "Failed in mgmt_get_fw_config \n"); | 61 | "Failed in mgmt_get_fw_config\n"); |
62 | } | 62 | } |
63 | 63 | ||
64 | spin_unlock(&ctrl->mbox_lock); | 64 | spin_unlock(&ctrl->mbox_lock); |
@@ -167,7 +167,7 @@ unsigned char mgmt_invalidate_icds(struct beiscsi_hba *phba, | |||
167 | &nonemb_cmd.dma); | 167 | &nonemb_cmd.dma); |
168 | if (nonemb_cmd.va == NULL) { | 168 | if (nonemb_cmd.va == NULL) { |
169 | SE_DEBUG(DBG_LVL_1, | 169 | SE_DEBUG(DBG_LVL_1, |
170 | "Failed to allocate memory for mgmt_invalidate_icds\n"); | 170 | "Failed to alloc memory for mgmt_invalidate_icds\n"); |
171 | spin_unlock(&ctrl->mbox_lock); | 171 | spin_unlock(&ctrl->mbox_lock); |
172 | return 0; | 172 | return 0; |
173 | } | 173 | } |
@@ -339,7 +339,7 @@ int mgmt_open_connection(struct beiscsi_hba *phba, | |||
339 | if (phba->nxt_cqid == phba->num_cpus) | 339 | if (phba->nxt_cqid == phba->num_cpus) |
340 | phba->nxt_cqid = 0; | 340 | phba->nxt_cqid = 0; |
341 | req->cq_id = phwi_context->be_cq[i].id; | 341 | req->cq_id = phwi_context->be_cq[i].id; |
342 | SE_DEBUG(DBG_LVL_8, "i=%d cq_id=%d \n", i, req->cq_id); | 342 | SE_DEBUG(DBG_LVL_8, "i=%d cq_id=%d\n", i, req->cq_id); |
343 | req->defq_id = def_hdr_id; | 343 | req->defq_id = def_hdr_id; |
344 | req->hdr_ring_id = def_hdr_id; | 344 | req->hdr_ring_id = def_hdr_id; |
345 | req->data_ring_id = def_data_id; | 345 | req->data_ring_id = def_data_id; |