mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Fixed a recently introduced sparse warning that was triggered against kernel 2.6.28 and before.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2833 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -146,11 +146,13 @@ struct list_head scst_sess_shut_list;
|
||||
|
||||
wait_queue_head_t scst_dev_cmd_waitQ;
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
|
||||
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
||||
static struct lockdep_map scst_suspend_dep_map = {
|
||||
.name = "scst_suspend_activity"
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
static struct mutex scst_suspend_mutex;
|
||||
/* protected by scst_suspend_mutex */
|
||||
static struct list_head scst_cmd_threads_list;
|
||||
|
||||
Reference in New Issue
Block a user