From: Dan Carpenter Date: Mon, 5 Apr 2010 19:37:28 +0000 (-0500) Subject: 9p: saving negative to unsigned char X-Git-Tag: v2.6.34-rc4~68^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc9fef67f6292692dba181a6d0fd0211bd0a607;p=pandora-kernel.git 9p: saving negative to unsigned char Saving -EINVAL as unsigned char truncates the high bits and changes it into 234 instead of -22. This breaks the test for "if (ret == -EINVAL)" in parse_opts(). Signed-off-by: Dan Carpenter Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed