diff options
author | Mika Kukkonen <mikukkon@gmail.com> | 2005-09-06 18:17:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:28 -0400 |
commit | 230649da7cb73914b8b2a1ffc802a2951e970454 (patch) | |
tree | ea18d1246118221640d1aebc89d6f1ba11b4869c /drivers/scsi/wd33c93.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 'drivers/scsi/wd33c93.c')
0 files changed, 0 insertions, 0 deletions