diff options
author | Mika Kukkonen <mikukkon@gmail.com> | 2005-09-07 00:17:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:28 +0200 |
commit | 230649da7cb73914b8b2a1ffc802a2951e970454 (patch) | |
tree | ea18d1246118221640d1aebc89d6f1ba11b4869c /fs/proc/generic.c | |
parent | [PATCH] fsnotify: hook on removexattr, too (diff) | |
download | linux-230649da7cb73914b8b2a1ffc802a2951e970454.tar.xz linux-230649da7cb73914b8b2a1ffc802a2951e970454.zip |
[PATCH] create_workqueue_thread() signedness fix
With "-W -Wno-unused -Wno-sign-compare" I get the following compile warning:
CC kernel/workqueue.o
kernel/workqueue.c: In function `workqueue_cpu_callback':
kernel/workqueue.c:504: warning: ordered comparison of pointer with integer zero
On error create_workqueue_thread() returns NULL, not negative pointer, so
following trivial patch suggests itself.
Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions