i2c: i2c-pnx: Made buf type unsigned to prevent sign extension
authorKevin Wells <kevin.wells@nxp.com>
Wed, 11 Nov 2009 23:23:00 +0000 (00:23 +0100)
committerBen Dooks <ben-linux@fluff.org>
Fri, 20 Nov 2009 00:25:42 +0000 (00:25 +0000)
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>
include/linux/i2c-pnx.h

index f13255e06406aa9eb7a8c60485599b960a976f8b..9eb07bbc6522bb4508797a7468a22ba465894e34 100644 (file)
@@ -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 */
 };