projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffd0a5
)
compat: avoid warning in compat_system_workqueue_create
author
John W. Linville
<linville@tuxdriver.com>
Thu, 17 Nov 2011 00:39:33 +0000
(19:39 -0500)
committer
Luis R. Rodriguez
<mcgrof@qca.qualcomm.com>
Fri, 18 Nov 2011 19:29:02 +0000
(11:29 -0800)
The check in the WARN_ON is inverted.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
compat/compat-2.6.36.c
patch
|
blob
|
history
diff --git
a/compat/compat-2.6.36.c
b/compat/compat-2.6.36.c
index aab25df7a963f0a8c95d9deb7097ab5dd2fe801a..fe24da83460160a924b9ff542011a0ae36a68cd1 100644
(file)
--- a/
compat/compat-2.6.36.c
+++ b/
compat/compat-2.6.36.c
@@
-99,7
+99,7
@@
EXPORT_SYMBOL_GPL(system_nrt_wq);
void compat_system_workqueue_create()
{
system_nrt_wq = create_singlethread_workqueue("events_nrt");
- WARN_ON(system_nrt_wq);
+ WARN_ON(
!
system_nrt_wq);
}
void compat_system_workqueue_destroy()