]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Correct loop_id_map allocation-size and usage.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 31 Aug 2012 04:54:20 +0000 (21:54 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 3 Sep 2012 08:34:40 +0000 (01:34 -0700)
commit22012b93bb02044ee80ac8516d1dfab32d9bc2c9
treee039f1d7eace42ec9e8fc297c1d2b39e3fe3043f
parent3020b3c9a2a67eb121b5c5cc7bbfdc7fa3d34406
qla2xxx: Correct loop_id_map allocation-size and usage.

Bugdb: 13653
Original code incorrectly assigned LOOPID_MAP_SIZE to be the
allocation size in bytes rather than total bit size.
Additionally corrected code to check for bit-allocation failure
in qla2x00_find_new_loop_id().

JIRA Key: V2632FC-270
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c