From: Shinya Kuribayashi Date: Sat, 27 Oct 2007 06:22:33 +0000 (+0900) Subject: [MIPS] au1x00_eth.c: Fixed a warning on pb1000 build. X-Git-Tag: v1.3.0~9^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4fbd0741b2b6441da10be93e10267122581b7079;p=oweals%2Fu-boot.git [MIPS] au1x00_eth.c: Fixed a warning on pb1000 build. au1x00_eth.c: In function 'au1x00_miiphy_write': au1x00_eth.c:139: warning: 'return' with no value, in function returning non-void Signed-off-by: Shinya Kuribayashi --- diff --git a/cpu/mips/au1x00_eth.c b/cpu/mips/au1x00_eth.c index 23f2f94ea1..d70c5fe987 100644 --- a/cpu/mips/au1x00_eth.c +++ b/cpu/mips/au1x00_eth.c @@ -136,7 +136,7 @@ int au1x00_miiphy_write(char *devname, unsigned char addr, udelay(1000); if (--timedout == 0) { printf("au1x00_eth: miiphy_write busy timeout!!\n"); - return; + return -1; } }