diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index e05b84839..0c094a3a2 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -65,37 +65,38 @@ static const char *scst_dev_handler_types[] = { static DEFINE_MUTEX(scst_log_mutex); static struct scst_trace_log scst_trace_tbl[] = { - { TRACE_OUT_OF_MEM, "out_of_mem" }, - { TRACE_MINOR, "minor" }, - { TRACE_SG_OP, "sg" }, - { TRACE_MEMORY, "mem" }, - { TRACE_BUFF, "buff" }, + { TRACE_OUT_OF_MEM, "out_of_mem" }, + { TRACE_MINOR, "minor" }, + { TRACE_SG_OP, "sg" }, + { TRACE_MEMORY, "mem" }, + { TRACE_BUFF, "buff" }, #ifndef GENERATING_UPSTREAM_PATCH - { TRACE_ENTRYEXIT, "entryexit" }, + { TRACE_ENTRYEXIT, "entryexit" }, #endif - { TRACE_PID, "pid" }, - { TRACE_LINE, "line" }, - { TRACE_FUNCTION, "function" }, - { TRACE_DEBUG, "debug" }, - { TRACE_SPECIAL, "special" }, - { TRACE_SCSI, "scsi" }, - { TRACE_MGMT, "mgmt" }, - { TRACE_MGMT_DEBUG, "mgmt_dbg" }, - { TRACE_FLOW_CONTROL, "flow_control" }, - { TRACE_PRES, "pr" }, - { 0, NULL } + { TRACE_PID, "pid" }, + { TRACE_LINE, "line" }, + { TRACE_FUNCTION, "function" }, + { TRACE_DEBUG, "debug" }, + { TRACE_SPECIAL, "special" }, + { TRACE_SCSI, "scsi" }, + { TRACE_MGMT, "mgmt" }, + { TRACE_MGMT_DEBUG, "mgmt_dbg" }, + { TRACE_FLOW_CONTROL, "flow_control" }, + { TRACE_PRES, "pr" }, + { 0, NULL } }; static struct scst_trace_log scst_local_trace_tbl[] = { - { TRACE_RTRY, "retry" }, - { TRACE_SCSI_SERIALIZING, "scsi_serializing" }, - { TRACE_RCV_BOT, "recv_bot" }, - { TRACE_SND_BOT, "send_bot" }, - { TRACE_RCV_TOP, "recv_top" }, - { TRACE_SND_TOP, "send_top" }, - { 0, NULL } + { TRACE_RTRY, "retry" }, + { TRACE_SCSI_SERIALIZING, "scsi_serializing" }, + { TRACE_RCV_BOT, "recv_bot" }, + { TRACE_SND_BOT, "send_bot" }, + { TRACE_RCV_TOP, "recv_top" }, + { TRACE_SND_TOP, "send_top" }, + { 0, NULL } }; + static void scst_read_trace_tbl(const struct scst_trace_log *tbl, char *buf, unsigned long log_level, int *pos) { @@ -1977,7 +1978,7 @@ void scst_dev_sysfs_del(struct scst_device *dev) } /** - ** Tgt_dev's directory implementation + ** Tgt_dev implementation **/ #ifdef CONFIG_SCST_MEASURE_LATENCY