[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:
Darren Jenkins 2006-02-28 16:59:20 -08:00 committed by Linus Torvalds
parent d6713e0463
commit 2641dfd981

View file

@ -306,7 +306,7 @@ struct slgt_info {
int tx_active; int tx_active;
unsigned char signals; /* serial signal states */ unsigned char signals; /* serial signal states */
unsigned int init_error; /* initialization error */ int init_error; /* initialization error */
unsigned char *tx_buf; unsigned char *tx_buf;
int tx_count; int tx_count;