From: Mika Kukkonen Date: Tue, 6 Sep 2005 22:17:17 +0000 (-0700) Subject: [PATCH] create_workqueue_thread() signedness fix X-Git-Tag: v2.6.14-rc1~692 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230649da7cb73914b8b2a1ffc802a2951e970454;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed