From: Dan Carpenter Date: Wed, 16 Nov 2011 08:21:50 +0000 (+0100) Subject: bio: change some signed vars to unsigned X-Git-Tag: v3.2-rc3~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121f099412bd6576dfb3d94222e89d9341362177;p=pandora-kernel.git bio: change some signed vars to unsigned This is just a cleanup patch to silence a static checker warning. The problem is that we cap "nr_iovecs" so it can't be larger than "UIO_MAXIOV" but we don't check for negative values. It turns out this is prevented at other layers, but logically it doesn't make sense to have negative nr_iovecs so making it unsigned is nicer. Signed-off-by: Dan Carpenter Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed