Messages in this thread Patch in this message | | | Date | Mon, 28 Jun 2004 20:18:43 +0200 | From | Olaf Hering <> | Subject | [PATCH] signed bug in net/decnet/dn_nsp_in.c dn_nsp_linkservice() |
| |
net/decnet/dn_nsp_in.c:534: warning: comparison is always false due to limited range of data type
char can be either signed or unsigned, depending on the target system. patch is against 2.6.7-bk11
--- ./net/decnet/dn_nsp_in.c +++ ./net/decnet/dn_nsp_in.c 2004/06/28 18:11:40 @@ -504,7 +504,7 @@ struct dn_scp *scp = DN_SK(sk); unsigned short segnum; unsigned char lsflags; - char fcval; + signed char fcval; int wake_up = 0; char *ptr = skb->data; unsigned char fctype = scp->services_rem & NSP_FC_MASK; -- USB is for mice, FireWire is for men! sUse lINUX ag, nÜRNBERG - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |