mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
Not debug compilation fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@66 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#ifndef __SCST_DEV_HANDLER_H
|
||||
#define __SCST_DEV_HANDLER_H
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <scsi/scsi_eh.h>
|
||||
#include "scst_debug.h"
|
||||
|
||||
#define SCST_DEV_UA_RETRIES 5
|
||||
|
||||
@@ -9,12 +13,6 @@
|
||||
|
||||
#define DEV_HANDLER_LOG_ENTRY_NAME "trace_level"
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
#include "scst_debug.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define SCST_DEFAULT_DEV_LOG_FLAGS (TRACE_OUT_OF_MEM | TRACE_PID | \
|
||||
TRACE_FUNCTION | TRACE_MGMT | TRACE_MINOR | TRACE_MGMT_DEBUG | \
|
||||
|
||||
@@ -47,7 +47,6 @@ static struct scst_proc_data scst_groups_names_proc_data;
|
||||
static struct scst_proc_data scst_groups_devices_proc_data;
|
||||
static struct scst_proc_data scst_sessions_proc_data;
|
||||
static struct scst_proc_data scst_dev_handler_type_proc_data;
|
||||
static struct scst_proc_data scst_log_proc_data;
|
||||
static struct scst_proc_data scst_tgt_proc_data;
|
||||
static struct scst_proc_data scst_threads_proc_data;
|
||||
static struct scst_proc_data scst_scsi_tgt_proc_data;
|
||||
@@ -85,6 +84,8 @@ static struct proc_dir_entry *scst_proc_scsi_tgt;
|
||||
static struct proc_dir_entry *scst_proc_groups_root;
|
||||
|
||||
#if defined(DEBUG) || defined(TRACING)
|
||||
static struct scst_proc_data scst_log_proc_data;
|
||||
|
||||
static struct scst_proc_log scst_proc_trace_tbl[] =
|
||||
{
|
||||
{ TRACE_OUT_OF_MEM, "out_of_mem" },
|
||||
|
||||
Reference in New Issue
Block a user