kernel-ark/drivers
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
..
acorn
acpi
amba
ata [PATCH] pata_pdc2027x iomem annotations 2006-09-24 20:07:49 -07:00
atm [NET]: Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE 2006-09-22 14:53:53 -07:00
base [S390] hypfs comment cleanup. 2006-09-20 15:58:44 +02:00
block Merge mulgrave-w:git/scsi-misc-2.6 2006-09-23 15:33:43 -05:00
bluetooth
cdrom
char [PATCH] briq_panel: read() and write() get __user pointers, damnit 2006-09-23 11:34:43 -07:00
clocksource
connector
cpufreq [CPUFREQ] Fix some more CPU hotplug locking. 2006-09-22 19:15:23 -04:00
crypto [CRYPTO] padlock: Convert padlock-sha to use crypto_hash 2006-09-21 11:46:22 +10:00
dio
dma
edac
eisa
fc4
firmware
hwmon
i2c
ide [POWERPC] Fix ohare IDE irq workaround on old powermacs 2006-09-22 15:19:58 +10:00
ieee1394
infiniband Merge mulgrave-w:git/linux-2.6 2006-09-23 21:03:52 -05:00
input
isdn
leds
macintosh [PATCH] asm/backlight.h is ppc-only 2006-09-22 17:48:57 -07:00
mca
md [BLOCK] dm-crypt: trivial comment improvements 2006-09-21 11:46:27 +10:00
media V4L/DVB (4608c): Fix I2C dependencies for saa7146 modules 2006-09-10 13:46:01 -03:00
message
mfd
misc
mmc [MMC] Always use a sector size of 512 bytes 2006-09-07 16:01:30 +01:00
mtd [MTD] Whitespace cleanup in SSFDC driver. 2006-09-23 16:20:48 +01:00
net [PATCH] Signedness issue in drivers/net/phy/phy_device.c 2006-09-25 20:01:19 -04:00
nubus
oprofile
parisc
parport
pci Merge branch 'master' into upstream 2006-09-24 01:52:47 -04:00
pcmcia
pnp
rapidio
rtc
s390 [SCSI] zfcp: fix: avoid removal of fsf reqs before qdio queues are down 2006-09-23 18:01:46 -05:00
sbus [OPENPROMIO]: Handle current_node being NULL correctly. 2006-09-18 01:47:13 -07:00
scsi [PATCH] fix idiocy in asd_init_lseq_mdp() 2006-09-24 20:07:49 -07:00
serial Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-09-22 12:48:03 -07:00
sh
sn
spi
tc
telephony
usb [PATCH] fallout from hcd-core patch 2006-09-22 17:48:57 -07:00
video [PATCH] more get_property() fallout 2006-09-23 11:34:43 -07:00
w1
zorro
Kconfig
Makefile