Commit 4ced24c8 authored by Kevin Wells's avatar Kevin Wells Committed by Ben Dooks

i2c: i2c-pnx: Made buf type unsigned to prevent sign extension

Made buf type unsigned to prevent sign extension
Signed-off-by: default avatarKevin Wells <kevin.wells@nxp.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent b2f125bc
......@@ -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 */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment