From: Andre Noll Date: Fri, 11 Jul 2008 12:02:21 +0000 (+1000) Subject: md: get_disk_info(): Don't convert between signed and unsigned and back. X-Git-Tag: v2.6.27-rc1~957^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ef379f53993b1da3c19b63257cd47e1d9cd672;p=pandora-kernel.git md: get_disk_info(): Don't convert between signed and unsigned and back. The current code copies a signed int from user space, converts it to unsigned and passes the unsigned value to find_rdev_nr() which expects a signed value. Simply pass the signed value from user space directly. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- Reading git-diff-tree failed