Re: [PATCH]: Third (final?) release of Sun Neptune driver

Stephen Hemminger
2007-10-05T15:43:58Z

> I just checked the following into net-2.6.24, besides minor
> tweaks and bug fixes, this is probably what is going to Linus.
>
> I verified it builds no just on sparc64 but also even on 32-bit
> platforms such as x86. :-)
>
> Thanks!

Sparse warnings from new driver.
CHECK drivers/net/niu.c
drivers/net/niu.c:619:7: warning: symbol 'err' shadows an earlier one
drivers/net/niu.c:574:6: originally declared here
drivers/net/niu.c:4673:7: warning: symbol 'err' shadows an earlier one
drivers/net/niu.c:4668:12: originally declared here
drivers/net/niu.c:203:2: error: bad constant expression
drivers/net/niu.c:203:2: error: cannot size expression
drivers/net/niu.c:4214:2: error: bad constant expression
drivers/net/niu.c:4214:2: error: cannot size expression