summaryrefslogtreecommitdiff
path: root/drivers/mfd/davinci_voicecodec.c
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-06-19 21:27:39 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-06-25 22:26:26 (GMT)
commitd8140b2fa09cceb947ac1ac49e0958eb137d0648 (patch)
tree1a6103ce1d53bb8c5f1da6cc141c61018f8e82ca /drivers/mfd/davinci_voicecodec.c
parent7011d0851b80a1a229acfda37ce08aad903b12d1 (diff)
downloadlinux-fsl-qoriq-d8140b2fa09cceb947ac1ac49e0958eb137d0648.tar.xz
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 <santoshprasadnayak@gmail.com>
Diffstat (limited to 'drivers/mfd/davinci_voicecodec.c')
0 files changed, 0 insertions, 0 deletions