SMSC LAN9500 USB2.0 10/100 ethernet adapter driver
Subsystems (2)
David Miller
maintainerI've added this patch to net-next-2.6, thanks.
But please fix the following warnings that are generated on 64-bit builds:
drivers/net/usb/smsc95xx.c: In function ‘smsc95xx_write_reg_async’:drivers/net/usb/smsc95xx.c:348: warning: large integer implicitly truncated to unsigned type drivers/net/usb/smsc95xx.c: In function ‘smsc95xx_status’:drivers/net/usb/smsc95xx.c:548: warning: passing argument 1 of ‘__swab32s’ makes pointer from integer without a cast
Hi David,
I don't see those warnings here on x86_64 (gcc 4.3.0, Fedora 9). Which arch/gcc version do you see them on?
Regards,
--
Steve Glendinning
SMSC GmbH
m: +44 777 933 9124
e: [email protected]
David Miller <[email protected]>
09/10/2008 00:45
To
Steve Glendinning/SMSC@SMSC
cc
[email protected]
Subject
Re: SMSC LAN9500 USB2.0 10/100 ethernet adapter driver
I've added this patch to net-next-2.6, thanks.
But please fix the following warnings that are generated on 64-bit builds:
drivers/net/usb/smsc95xx.c: In function ?smsc95xx_write_reg_async?:drivers/net/usb/smsc95xx.c:348: warning: large integer implicitly truncated to unsigned typedrivers/net/usb/smsc95xx.c: In function ?smsc95xx_status?:drivers/net/usb/smsc95xx.c:548: warning: passing argument 1 of ?__swab32s? makes pointer from integer without a cast
Hi
Quoted 4 lines · On Thu, 9 Oct 2008 09:48:16 +0100 [email protected] wrote:
Hi David,
I don't see those warnings here on
x86_64(gcc 4.3.0, Fedora 9). Whicharch/gccversion do you see them on?
I've got same results as davem:
CC [M] drivers/net/usb/smsc95xx.odrivers/net/usb/smsc95xx.c: In function 'smsc95xx_write_reg_async':drivers/net/usb/smsc95xx.c:348: warning: large integer implicitly truncated to unsigned type drivers/net/usb/smsc95xx.c: In function 'smsc95xx_status':drivers/net/usb/smsc95xx.c:548: warning: passing argument 1 of '__swab32s' makes pointer from integer without a cast
I'm using powerpc/x86 cross-compiler (ppu-gcc 4.1.1) included in Cell SDK 3.0. You can reach the gcc RPMs via:
http://www.bsc.es/projects/deepcomputing/linuxoncell/
(from 'Cell BE SDKs' item of the left menu of the page)
Signature · 1 line
Masakazu Mokuno
Thanks Masakazu, i see it now. Patch to follow.
--
Steve Glendinning
SMSC GmbH
m: +44 777 933 9124
e: [email protected]
Masakazu Mokuno <[email protected]>
09/10/2008 11:08
To
Steve Glendinning/SMSC@SMSC
cc
David Miller <[email protected]>, [email protected], Ian Saturley/SMSC@SMSC
Subject
Re: SMSC LAN9500 USB2.0 10/100 ethernet adapter driver
Hi
Quoted 4 lines · On Thu, 9 Oct 2008 09:48:16 +0100 [email protected] wrote:
Hi David,
I don't see those warnings here on
x86_64(gcc 4.3.0, Fedora 9). Whicharch/gccversion do you see them on?
I've got same results as davem:
CC [M] drivers/net/usb/smsc95xx.odrivers/net/usb/smsc95xx.c: In function 'smsc95xx_write_reg_async':drivers/net/usb/smsc95xx.c:348: warning: large integer implicitly truncated to unsigned typedrivers/net/usb/smsc95xx.c: In function 'smsc95xx_status':drivers/net/usb/smsc95xx.c:548: warning: passing argument 1 of '__swab32s' makes pointer from integer without a cast
I'm using powerpc/x86 cross-compiler (ppu-gcc 4.1.1) included in Cell SDK 3.0. You can reach the gcc RPMs via:
http://www.bsc.es/projects/deepcomputing/linuxoncell/
(from 'Cell BE SDKs' item of the left menu of the page)
Signature · 1 line
Masakazu Mokuno
David Miller
maintainerFrom: [email protected]
Date: Thu, 9 Oct 2008 09:48:16 +0100
Quoted 2 lines
I don't see those warnings here on
x86_64(gcc 4.3.0, Fedora 9). Whicharch/gccversion do you see them on?
sparc64, gcc-4.1.3