git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7011d08
)
netxen: Error return off by one in 'netxen_nic_set_pauseparam()'.
author
Santosh Nayak
<santoshprasadnayak@gmail.com>
Tue, 19 Jun 2012 21:27:39 +0000
(21:27 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Jun 2012 22:26:26 +0000
(15:26 -0700)
There are 'NETXEN_NIU_MAX_GBE_PORTS' GBE ports. Port indexing starts
from zero.
Hence we should also return error for "port == NETXEN_NIU_MAX_GBE_PORTS"
Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
No differences found