diff options
author | Kevin Wells <kevin.wells@nxp.com> | 2009-11-12 02:23:00 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-11-20 03:25:42 +0300 |
commit | 4ced24c8973f79113444d1e00ee8bd9e74fbf43e (patch) | |
tree | aeab7b72d009b15f918b0dfeb17bfc5a1603b071 /include/linux/i2c-pnx.h | |
parent | b2f125bcf5eac41a6d74f75ac573b77753213b74 (diff) | |
download | linux-4ced24c8973f79113444d1e00ee8bd9e74fbf43e.tar.xz |
i2c: i2c-pnx: Made buf type unsigned to prevent sign extension
Made buf type unsigned to prevent sign extension
Signed-off-by: Kevin Wells <kevin.wells@nxp.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r-- | include/linux/i2c-pnx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index f13255e06406..9eb07bbc6522 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h @@ -21,7 +21,7 @@ struct i2c_pnx_mif { int mode; /* Interface mode */ struct completion complete; /* I/O completion */ struct timer_list timer; /* Timeout */ - char * buf; /* Data buffer */ + u8 * buf; /* Data buffer */ int len; /* Length of data buffer */ }; |