Re: [PATCH next] scsi: fcoe: fix off by one in eth2fc_speed()

2016-09-26 Thread Martin K. Petersen
> "Vincent" == Vincent Stehlé writes: Vincent> This should be "< ARRAY_SIZE()" instead of "<= ARRAY_SIZE()". Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi"

Re: [PATCH next] scsi: fcoe: fix off by one in eth2fc_speed()

2016-09-22 Thread Johannes Thumshirn
On Wed, Sep 21, 2016 at 10:54:07PM +0200, Vincent Stehlé wrote: > 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é

[PATCH next] scsi: fcoe: fix off by one in eth2fc_speed()

2016-09-21 Thread Vincent Stehlé
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é Cc: Johannes Thumshirn Cc: "Martin K. Petersen"