diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-05 21:37:28 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-04-05 21:37:28 +0200 |
commit | 3dc9fef67f6292692dba181a6d0fd0211bd0a607 (patch) | |
tree | 643e6ecbcf8ffe58bdbd19ce2acde43643eeaf2b /drivers/i2c | |
parent | 9p: return on mutex_lock_interruptible() (diff) | |
download | linux-3dc9fef67f6292692dba181a6d0fd0211bd0a607.tar.xz linux-3dc9fef67f6292692dba181a6d0fd0211bd0a607.zip |
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 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions