projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a1d9c
)
V4L/DVB: gspca - sn9c20x: Correct onstack wait_queue_head declaration
author
Yong Zhang
<yong.zhang0@gmail.com>
Fri, 5 Feb 2010 13:52:39 +0000
(10:52 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 6 May 2010 22:19:04 +0000
(19:19 -0300)
Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
CC: Brian Johnson <brijohn@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/sn9c20x.c
b/drivers/media/video/gspca/sn9c20x.c
index 38a6e15e096b85f42ff999f44a24e8ea6945b1e0..3dee3e5844b6b4ea790aeddc1b51dc72212f6231 100644
(file)
--- a/
drivers/media/video/gspca/sn9c20x.c
+++ b/
drivers/media/video/gspca/sn9c20x.c
@@
-1427,7
+1427,7
@@
static int input_kthread(void *data)
struct gspca_dev *gspca_dev = (struct gspca_dev *)data;
struct sd *sd = (struct sd *) gspca_dev;
- DECLARE_WAIT_QUEUE_HEAD(wait);
+ DECLARE_WAIT_QUEUE_HEAD
_ONSTACK
(wait);
set_freezable();
for (;;) {
if (kthread_should_stop())