aha/drivers/net/phy
Eric Sesterhenn 84c22d7901 [PATCH] Signedness issue in drivers/net/phy/phy_device.c
While checking gcc 4.1 -Wextra warnings, I stumbled across the following
two warnings:

drivers/net/phy/phy_device.c:528: warning: comparison of unsigned expression < 0 is always false
drivers/net/phy/phy_device.c:546: warning: comparison of unsigned expression < 0 is always false

Since phy_read() returns an integer and can return negative values, it seems
to me the best way to get proper error handling working again is to make val
an int.  Currently it is an u32, so the < 0 check always fails.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-25 20:01:19 -04:00
..
cicada.c [PATCH] Add support for the Cicada 8201 PHY 2006-07-05 14:07:14 -04:00
davicom.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fixed.c drivers/net/phy/fixed: #if 0 some incomplete code 2006-09-13 14:33:12 -04:00
Kconfig [PATCH] PAL: Support of the fixed PHY 2006-08-19 17:44:31 -04:00
lxt.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [PATCH] PAL: Support of the fixed PHY 2006-08-19 17:44:31 -04:00
marvell.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mdio_bus.c [PATCH] PAL: Support of the fixed PHY 2006-08-19 17:44:31 -04:00
phy.c [PATCH] Stop calling phy_stop_interrupts() twice 2006-08-03 17:29:59 -04:00
phy_device.c [PATCH] Signedness issue in drivers/net/phy/phy_device.c 2006-09-25 20:01:19 -04:00
qsemi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
smsc.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00
vitesse.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00