Commit 1665f0ee authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] signed char fixes in qd65xx

qd65xx assumed that char is always signed
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 76689f56
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
/* Drive specific timing taken from DOS driver v3.7 */ /* Drive specific timing taken from DOS driver v3.7 */
struct qd65xx_timing_s { struct qd65xx_timing_s {
char offset; /* ofset from the beginning of Model Number" */ s8 offset; /* ofset from the beginning of Model Number" */
char model[4]; /* 4 chars from Model number, no conversion */ char model[4]; /* 4 chars from Model number, no conversion */
short active; /* active time */ s16 active; /* active time */
short recovery; /* recovery time */ s16 recovery; /* recovery time */
} qd65xx_timing [] = { } qd65xx_timing [] = {
{ 30, "2040", 110, 225 }, /* Conner CP30204 */ { 30, "2040", 110, 225 }, /* Conner CP30204 */
{ 30, "2045", 135, 225 }, /* Conner CP30254 */ { 30, "2045", 135, 225 }, /* Conner CP30254 */
......
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