diff options
author | Wolfgang Denk <wd@denx.de> | 2011-10-29 09:37:34 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-03 20:38:49 +0100 |
commit | 675b46bbac183b33a69c55b2c0dcc76ff02f4567 (patch) | |
tree | 6270de2d661e701128f56ec43cb7c848b80243c7 /board/pm520 | |
parent | a9f4fc3fe571cc99260b063ad0ff291d31bafed0 (diff) | |
download | talos-obmc-uboot-675b46bbac183b33a69c55b2c0dcc76ff02f4567.tar.gz talos-obmc-uboot-675b46bbac183b33a69c55b2c0dcc76ff02f4567.zip |
drivers/net/ns8382x.c: fix GCC 4.6 build warnings
Fix:
ns8382x.c: In function 'ns8382x_check_duplex':
ns8382x.c:704:6: warning: variable 'hun' set but not used
[-Wunused-but-set-variable]
To fix this, we get rid of the NS8382X_DEBUG code and use standard
debug() instead.
This will now trigger a so far undetected warning:
ns8382x.c:780:2: warning: format '%X' expects argument of type
'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
Fix that, too.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/pm520')
0 files changed, 0 insertions, 0 deletions