summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-05 23:37:28 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-04-05 23:37:28 +0400
commit3dc9fef67f6292692dba181a6d0fd0211bd0a607 (patch)
tree643e6ecbcf8ffe58bdbd19ce2acde43643eeaf2b /fs/9p
parent85a770a8889035625466a4cfb1393cd7d2ffd165 (diff)
downloadlinux-3dc9fef67f6292692dba181a6d0fd0211bd0a607.tar.xz
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 <error27@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions