aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpt2sas_transport.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-06-17 04:13:57 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:02:16 -0400
commiteabb08ad2d3b0257cd2c9aed4f106fb39d14604a (patch)
tree5a9c7c22065cb775265185a265599dd082b44021 /drivers/scsi/mpt2sas/mpt2sas_transport.c
parent570c67ac443dab5c46e5744e950f0539724cb65d (diff)
[SCSI] mpt2sas: print level KERN_DEBUG is replaced by KERN_INFO
Converting print level from MPT2SAS_DEBUG_FMT to MPT2SAS_INFO_FMT. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_transport.c')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_transport.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_transport.c b/drivers/scsi/mpt2sas/mpt2sas_transport.c
index 6c94deeb7be..f29ea5e78bb 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_transport.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_transport.c
@@ -397,7 +397,7 @@ _transport_expander_report_manufacture(struct MPT2SAS_ADAPTER *ioc,
397 sizeof(struct rep_manu_reply), data_out_dma + 397 sizeof(struct rep_manu_reply), data_out_dma +
398 sizeof(struct rep_manu_request)); 398 sizeof(struct rep_manu_request));
399 399
400 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT "report_manufacture - " 400 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT "report_manufacture - "
401 "send to sas_addr(0x%016llx)\n", ioc->name, 401 "send to sas_addr(0x%016llx)\n", ioc->name,
402 (unsigned long long)sas_address)); 402 (unsigned long long)sas_address));
403 mpt2sas_base_put_smid_default(ioc, smid); 403 mpt2sas_base_put_smid_default(ioc, smid);
@@ -415,7 +415,7 @@ _transport_expander_report_manufacture(struct MPT2SAS_ADAPTER *ioc,
415 goto issue_host_reset; 415 goto issue_host_reset;
416 } 416 }
417 417
418 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT "report_manufacture - " 418 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT "report_manufacture - "
419 "complete\n", ioc->name)); 419 "complete\n", ioc->name));
420 420
421 if (ioc->transport_cmds.status & MPT2_CMD_REPLY_VALID) { 421 if (ioc->transport_cmds.status & MPT2_CMD_REPLY_VALID) {
@@ -423,7 +423,7 @@ _transport_expander_report_manufacture(struct MPT2SAS_ADAPTER *ioc,
423 423
424 mpi_reply = ioc->transport_cmds.reply; 424 mpi_reply = ioc->transport_cmds.reply;
425 425
426 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT 426 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT
427 "report_manufacture - reply data transfer size(%d)\n", 427 "report_manufacture - reply data transfer size(%d)\n",
428 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); 428 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength)));
429 429
@@ -449,7 +449,7 @@ _transport_expander_report_manufacture(struct MPT2SAS_ADAPTER *ioc,
449 manufacture_reply->component_revision_id; 449 manufacture_reply->component_revision_id;
450 } 450 }
451 } else 451 } else
452 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT 452 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT
453 "report_manufacture - no reply\n", ioc->name)); 453 "report_manufacture - no reply\n", ioc->name));
454 454
455 issue_host_reset: 455 issue_host_reset:
@@ -1861,7 +1861,7 @@ _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy,
1861 ioc->base_add_sg_single(psge, sgl_flags | (blk_rq_bytes(rsp) + 4), 1861 ioc->base_add_sg_single(psge, sgl_flags | (blk_rq_bytes(rsp) + 4),
1862 dma_addr_in); 1862 dma_addr_in);
1863 1863
1864 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT "%s - " 1864 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT "%s - "
1865 "sending smp request\n", ioc->name, __func__)); 1865 "sending smp request\n", ioc->name, __func__));
1866 1866
1867 mpt2sas_base_put_smid_default(ioc, smid); 1867 mpt2sas_base_put_smid_default(ioc, smid);
@@ -1879,14 +1879,14 @@ _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy,
1879 goto issue_host_reset; 1879 goto issue_host_reset;
1880 } 1880 }
1881 1881
1882 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT "%s - " 1882 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT "%s - "
1883 "complete\n", ioc->name, __func__)); 1883 "complete\n", ioc->name, __func__));
1884 1884
1885 if (ioc->transport_cmds.status & MPT2_CMD_REPLY_VALID) { 1885 if (ioc->transport_cmds.status & MPT2_CMD_REPLY_VALID) {
1886 1886
1887 mpi_reply = ioc->transport_cmds.reply; 1887 mpi_reply = ioc->transport_cmds.reply;
1888 1888
1889 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT 1889 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT
1890 "%s - reply data transfer size(%d)\n", 1890 "%s - reply data transfer size(%d)\n",
1891 ioc->name, __func__, 1891 ioc->name, __func__,
1892 le16_to_cpu(mpi_reply->ResponseDataLength))); 1892 le16_to_cpu(mpi_reply->ResponseDataLength)));
@@ -1897,7 +1897,7 @@ _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy,
1897 rsp->resid_len -= 1897 rsp->resid_len -=
1898 le16_to_cpu(mpi_reply->ResponseDataLength); 1898 le16_to_cpu(mpi_reply->ResponseDataLength);
1899 } else { 1899 } else {
1900 dtransportprintk(ioc, printk(MPT2SAS_DEBUG_FMT 1900 dtransportprintk(ioc, printk(MPT2SAS_INFO_FMT
1901 "%s - no reply\n", ioc->name, __func__)); 1901 "%s - no reply\n", ioc->name, __func__));
1902 rc = -ENXIO; 1902 rc = -ENXIO;
1903 } 1903 }