scsi: qla2xxx: Silence fwdump template message
[linux-2.6-block.git] / drivers / scsi / qedf / qedf_debugfs.c
index d905a307302d2091b49423006abb4cf09be730ca..b88bed9bb1338a83be19714cb6af4563191e3e80 100644 (file)
@@ -47,13 +47,13 @@ qedf_dbg_host_init(struct qedf_dbg_ctx *qedf,
  * @pf: the pf that is stopping
  **/
 void
-qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf)
+qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf_dbg)
 {
-       QEDF_INFO(qedf, QEDF_LOG_DEBUGFS, "Destroying debugfs host "
+       QEDF_INFO(qedf_dbg, QEDF_LOG_DEBUGFS, "Destroying debugfs host "
                   "entry\n");
        /* remove debugfs  entries of this PF */
-       debugfs_remove_recursive(qedf->bdf_dentry);
-       qedf->bdf_dentry = NULL;
+       debugfs_remove_recursive(qedf_dbg->bdf_dentry);
+       qedf_dbg->bdf_dentry = NULL;
 }
 
 /**
@@ -140,10 +140,10 @@ qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count,
                        loff_t *ppos)
 {
        int cnt;
-       struct qedf_dbg_ctx *qedf =
+       struct qedf_dbg_ctx *qedf_dbg =
                                (struct qedf_dbg_ctx *)filp->private_data;
 
-       QEDF_INFO(qedf, QEDF_LOG_DEBUGFS, "entered\n");
+       QEDF_INFO(qedf_dbg, QEDF_LOG_DEBUGFS, "debug mask=0x%x\n", qedf_debug);
        cnt = sprintf(buffer, "debug mask = 0x%x\n", qedf_debug);
 
        cnt = min_t(int, count, cnt - *ppos);
@@ -158,7 +158,7 @@ qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer,
        uint32_t val;
        void *kern_buf;
        int rval;
-       struct qedf_dbg_ctx *qedf =
+       struct qedf_dbg_ctx *qedf_dbg =
            (struct qedf_dbg_ctx *)filp->private_data;
 
        if (!count || *ppos)
@@ -178,7 +178,7 @@ qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer,
        else
                qedf_debug = val;
 
-       QEDF_INFO(qedf, QEDF_LOG_DEBUGFS, "Setting debug=0x%x.\n", val);
+       QEDF_INFO(qedf_dbg, QEDF_LOG_DEBUGFS, "Setting debug=0x%x.\n", val);
        return count;
 }