projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f125b
)
i2c: i2c-pnx: Made buf type unsigned to prevent sign extension
author
Kevin Wells
<kevin.wells@nxp.com>
Wed, 11 Nov 2009 23:23:00 +0000
(
00:23
+0100)
committer
Ben Dooks
<ben-linux@fluff.org>
Fri, 20 Nov 2009 00:25:42 +0000
(
00:25
+0000)
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>
include/linux/i2c-pnx.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/i2c-pnx.h
b/include/linux/i2c-pnx.h
index f13255e06406aa9eb7a8c60485599b960a976f8b..9eb07bbc6522bb4508797a7468a22ba465894e34 100644
(file)
--- a/
include/linux/i2c-pnx.h
+++ b/
include/linux/i2c-pnx.h
@@
-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 */
};