[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4A54FC78.2010101@gmail.com>
Date: Wed, 08 Jul 2009 22:07:20 +0200
From: Marcin Slusarz <marcin.slusarz@...il.com>
To: Greg Kroah-Hartman <gregkh@...e.de>
CC: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 2/3] staging/rt*: fix wait_queue_head_t declaration on stack
From: Marcin Slusarz <marcin.slusarz@...il.com>
Subject: [PATCH 2/3] staging/rt*: fix wait_queue_head_t declaration on stack
othwerwise lockdep complains:
"INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator."
Signed-off-by: Marcin Slusarz <marcin.slusarz@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
drivers/staging/rt2860/rt_main_dev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/rt2860/rt_main_dev.c b/drivers/staging/rt2860/rt_main_dev.c
index f298b9b..b6a0372 100644
--- a/drivers/staging/rt2860/rt_main_dev.c
+++ b/drivers/staging/rt2860/rt_main_dev.c
@@ -190,7 +190,7 @@ int rt28xx_close(IN PNET_DEV dev)
BOOLEAN Cancelled = FALSE;
UINT32 i = 0;
#ifdef RT2870
- DECLARE_WAIT_QUEUE_HEAD(unlink_wakeup);
+ DECLARE_WAIT_QUEUE_HEAD_ONSTACK(unlink_wakeup);
DECLARE_WAITQUEUE(wait, current);
//RTMP_SET_FLAG(pAd, fRTMP_ADAPTER_REMOVE_IN_PROGRESS);
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists