[PATCH] drivers/net/acenic.c '< 0' comparison make sense only with signed variable.

From: "Alexey Dobriyan"
Date: Mon Oct 06 2003 - 17:58:43 EST


diff -urN a/drivers/net/acenic.c b/drivers/net/acenic.c
--- a/drivers/net/acenic.c 2003-09-28 04:50:18.000000000 +0400
+++ b/drivers/net/acenic.c 2003-10-07 00:20:40.000000000 +0400
@@ -1162,7 +1162,8 @@
struct pci_dev *pdev;
unsigned long myjif;
u64 tmp_ptr;
- u32 tig_ver, mac1, mac2, tmp, pci_state;
+ u32 tig_ver, mac1, mac2, pci_state;
+ s32 tmp;
int board_idx, ecode = 0;
short i;
unsigned char cache_size;

-
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/