]> git.karo-electronics.de Git - karo-tx-linux.git/commit
workqueue: trivial fix for return statement in work_busy()
authorJoonsoo Kim <js1304@gmail.com>
Sat, 20 Oct 2012 16:30:06 +0000 (01:30 +0900)
committerTejun Heo <tj@kernel.org>
Sun, 2 Dec 2012 00:45:40 +0000 (16:45 -0800)
commit999767beb1b4a10eabf90e6017e496536cf4db0b
tree52025d802a2d350e42b0857502cb1ac7b473f31b
parent8852aac25e79e38cc6529f20298eed154f60b574
workqueue: trivial fix for return statement in work_busy()

Return type of work_busy() is unsigned int.
There is return statement returning boolean value, 'false' in work_busy().
It is not problem, because 'false' may be treated '0'.
However, fixing it would make code robust.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c