From: Santosh Nayak Date: Tue, 19 Jun 2012 21:27:39 +0000 (+0000) Subject: netxen: Error return off by one in 'netxen_nic_set_pauseparam()'. X-Git-Tag: v3.6-rc1~125^2~455 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8140b2fa09cceb947ac1ac49e0958eb137d0648;p=pandora-kernel.git netxen: Error return off by one in 'netxen_nic_set_pauseparam()'. 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 --- Reading git-diff-tree failed