提交 4ced24c8 编写于 作者: K Kevin Wells 提交者: Ben Dooks

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

Made buf type unsigned to prevent sign extension
Signed-off-by: NKevin Wells <kevin.wells@nxp.com>
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 b2f125bc
...@@ -21,7 +21,7 @@ struct i2c_pnx_mif { ...@@ -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 */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册