Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
};