diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-06-20 02:52:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-26 00:26:31 +0200 |
commit | ed3b856b69a7f3748d6917e42d462c962aaa39b8 (patch) | |
tree | df7f508631f7db235b07c685274241f9055c7069 /drivers/oprofile | |
parent | netxen: Error return off by one in 'netxen_nic_set_pauseparam()'. (diff) | |
download | linux-ed3b856b69a7f3748d6917e42d462c962aaa39b8.tar.xz linux-ed3b856b69a7f3748d6917e42d462c962aaa39b8.zip |
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/oprofile')
0 files changed, 0 insertions, 0 deletions