Skip to content

Commit

Permalink
i2c: i2c-pnx: Made buf type unsigned to prevent sign extension
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin Wells authored and Ben Dooks committed Nov 20, 2009
1 parent b2f125b commit 4ced24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/i2c-pnx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down

0 comments on commit 4ced24c

Please sign in to comment.