summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2016-09-21 22:54:07 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-26 20:54:45 -0400
commit182d3f84307263e016977eaf23f9048483cf5ea2 (patch)
treefe4d318ec0c0706ec028611c385d95885d6fc398 /net/ethernet
parent92efbb8500230c883ca6966b0ef9f3e18c1e29ba (diff)
downloadblackbird-op-linux-182d3f84307263e016977eaf23f9048483cf5ea2.tar.gz
blackbird-op-linux-182d3f84307263e016977eaf23f9048483cf5ea2.zip
scsi: fcoe: fix off by one in eth2fc_speed()
This should be "< ARRAY_SIZE()" instead of "<= ARRAY_SIZE()". Fixes: 0b924e5505a568e7 ("scsi: fcoe: provide translation table between Ethernet and FC port speeds") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Johannes Thumshirn <jthumshirn@suse.de> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud