]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla4xxx: Update func name from ql4_ to qla4_
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 22 Aug 2012 11:55:01 +0000 (07:55 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 12 Nov 2012 10:51:21 +0000 (02:51 -0800)
ql4_8xxx_mark_entry_skipped to qla4_8xxx_mark_entry_skipped
ql4_attr_is_visible to qla4_attr_is_visible

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c
drivers/scsi/qla4xxx/ql4_os.c

index a33f122921c4ad64cfb57e186e0178bdd88710bb..8c24938bea04ea6f14568b4cb40164849512dbf1 100644 (file)
@@ -2096,7 +2096,7 @@ static int qla4_8xxx_minidump_process_rdmem(struct scsi_qla_host *ha,
        return QLA_SUCCESS;
 }
 
-static void ql4_8xxx_mark_entry_skipped(struct scsi_qla_host *ha,
+static void qla4_8xxx_mark_entry_skipped(struct scsi_qla_host *ha,
                                struct qla8xxx_minidump_entry_hdr *entry_hdr,
                                int index)
 {
@@ -2180,13 +2180,13 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
                 */
                switch (entry_hdr->entry_type) {
                case QLA82XX_RDEND:
-                       ql4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
+                       qla4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
                        break;
                case QLA82XX_CNTRL:
                        rval = qla4_8xxx_minidump_process_control(ha,
                                                                  entry_hdr);
                        if (rval != QLA_SUCCESS) {
-                               ql4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
+                               qla4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
                                goto md_failed;
                        }
                        break;
@@ -2198,7 +2198,7 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
                        rval = qla4_8xxx_minidump_process_rdmem(ha, entry_hdr,
                                                                &data_ptr);
                        if (rval != QLA_SUCCESS) {
-                               ql4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
+                               qla4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
                                goto md_failed;
                        }
                        break;
@@ -2214,7 +2214,7 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
                        rval = qla4_8xxx_minidump_process_l2tag(ha, entry_hdr,
                                                                &data_ptr);
                        if (rval != QLA_SUCCESS) {
-                               ql4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
+                               qla4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
                                goto md_failed;
                        }
                        break;
@@ -2237,7 +2237,7 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
                        break;
                case QLA82XX_RDNOP:
                default:
-                       ql4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
+                       qla4_8xxx_mark_entry_skipped(ha, entry_hdr, i);
                        break;
                }
 
index 886d0a5720bf0f766273018177169d5172616c7d..be2476ad50d8fcc5bfa0ad466e7554dd0ed6a3db 100644 (file)
@@ -159,7 +159,7 @@ static int qla4xxx_eh_host_reset(struct scsi_cmnd *cmd);
 static int qla4xxx_slave_alloc(struct scsi_device *device);
 static int qla4xxx_slave_configure(struct scsi_device *device);
 static void qla4xxx_slave_destroy(struct scsi_device *sdev);
-static mode_t ql4_attr_is_visible(int param_type, int param);
+static mode_t qla4_attr_is_visible(int param_type, int param);
 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type);
 static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth,
                                      int reason);
@@ -202,7 +202,7 @@ static struct iscsi_transport qla4xxx_iscsi_transport = {
                                  CAP_DATA_PATH_OFFLOAD | CAP_HDRDGST |
                                  CAP_DATADGST | CAP_LOGIN_OFFLOAD |
                                  CAP_MULTI_R2T,
-       .attr_is_visible        = ql4_attr_is_visible,
+       .attr_is_visible        = qla4_attr_is_visible,
        .create_session         = qla4xxx_session_create,
        .destroy_session        = qla4xxx_session_destroy,
        .start_conn             = qla4xxx_conn_start,
@@ -314,7 +314,7 @@ exit_send_ping:
        return rval;
 }
 
-static mode_t ql4_attr_is_visible(int param_type, int param)
+static mode_t qla4_attr_is_visible(int param_type, int param)
 {
        switch (param_type) {
        case ISCSI_HOST_PARAM: