]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: ISP27xx optimize fwdump entry table lookup.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Thu, 25 Sep 2014 09:16:33 +0000 (05:16 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:01 +0000 (14:25 +0200)
commit0d03d2bf72ec0cabce2cf140409d1b34ef12d633
treee4138ffe708ef11b8c988cb16288545ec0628bb9
parentf4c0ec44eeccbf7a545cbea3f4b3cfb79bccebe3
qla2xxx: ISP27xx optimize fwdump entry table lookup.

Since the entry call array is sorted in order of entry type opcode,
the search can be terminated as soon as the search key is exceeded.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_tmpl.c