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>
This commit is contained in:
@ -21,7 +21,7 @@ struct i2c_pnx_mif {
|
|||||||
int mode; /* Interface mode */
|
int mode; /* Interface mode */
|
||||||
struct completion complete; /* I/O completion */
|
struct completion complete; /* I/O completion */
|
||||||
struct timer_list timer; /* Timeout */
|
struct timer_list timer; /* Timeout */
|
||||||
char * buf; /* Data buffer */
|
u8 * buf; /* Data buffer */
|
||||||
int len; /* Length of data buffer */
|
int len; /* Length of data buffer */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user