forked from Minki/linux
[PATCH] synclink_gt: make ->init_error signed
Examples of misuse are 3112 info->init_error = -1; 4440 if ((info->init_error = register_test(info)) < 0) { Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Paul Fulghum <paulkf@microgate.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d6713e0463
commit
2641dfd981
@ -306,7 +306,7 @@ struct slgt_info {
|
||||
int tx_active;
|
||||
|
||||
unsigned char signals; /* serial signal states */
|
||||
unsigned int init_error; /* initialization error */
|
||||
int init_error; /* initialization error */
|
||||
|
||||
unsigned char *tx_buf;
|
||||
int tx_count;
|
||||
|
Loading…
Reference in New Issue
Block a user