[PATCH] synclink_gt: make ->init_error signed
- From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
- Date: Wed, 1 Mar 2006 00:26:19 +0300
From: "Darren Jenkins\\" <darrenrjenkins@xxxxxxxxx>
Examples of misuse are
3112 info->init_error = -1;
4440 if ((info->init_error = register_test(info)) < 0) {
Signed-off-by: Darren Jenkins <darrenrjenkins@xxxxxxxxx>
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---
drivers/char/synclink_gt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/char/synclink_gt.c
+++ b/drivers/char/synclink_gt.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] synclink_gt: make ->init_error signed
- From: Paul Fulghum
- Re: [PATCH] synclink_gt: make ->init_error signed
- Prev by Date: Re: [patch] i386: make bitops safe
- Next by Date: Re: [PATCH -rt] buggy UART fix
- Previous by thread: [patch] i386: port ATI timer fix from x86_64 to i386
- Next by thread: Re: [PATCH] synclink_gt: make ->init_error signed
- Index(es):
Relevant Pages
|
|