diff options
author | Mika Kukkonen <mikukkon@gmail.com> | 2005-09-06 15:17:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:28 -0700 |
commit | 230649da7cb73914b8b2a1ffc802a2951e970454 (patch) | |
tree | ea18d1246118221640d1aebc89d6f1ba11b4869c /fs/proc/generic.c | |
parent | b80068543794864f533163c586be2a1a9880a65d (diff) |
[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 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions