summaryrefslogtreecommitdiff
path: root/drivers/net/phy/micrel.c
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-06-20 04:52:58 +0400
committerDavid S. Miller <davem@davemloft.net>2012-06-26 02:26:31 +0400
commited3b856b69a7f3748d6917e42d462c962aaa39b8 (patch)
treedf7f508631f7db235b07c685274241f9055c7069 /drivers/net/phy/micrel.c
parentd8140b2fa09cceb947ac1ac49e0958eb137d0648 (diff)
downloadlinux-ed3b856b69a7f3748d6917e42d462c962aaa39b8.tar.xz
netxen: Error return off by one for XG port.
There are NETXEN_NIU_MAX_XG_PORTS ports. Port indexing starts from zero. Hence we should also return error for 'port == NETXEN_NIU_MAX_XG_PORTS'. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Diffstat (limited to 'drivers/net/phy/micrel.c')
0 files changed, 0 insertions, 0 deletions