splice: comparing unsigned int < 0
authorDan Carpenter <error27@gmail.com>
Fri, 5 Mar 2010 21:42:51 +0000 (13:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:32 +0000 (11:26 -0800)
commit5f1664f92b2247111b7d37e454a050b76ac61b7f
treedfedcdc7c878a103e561c7b0a7cf3ae7d5bff8a9
parent0347af4ee3922220f6bfe74b87b526aa709a0365
splice: comparing unsigned int < 0

"ret" needs to be signed or the error handling for splice_to_pipe() won't
work correctly.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Tom Zanussi <zanussi@comcast.net>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/relay.c
This page took 0.025609 seconds and 5 git commands to generate.