[PATCH] qla2xxx: Correct loop_id_map allocation-size and usage.

2012-09-20 Thread Saurav Kashyap
From: Andrew Vasquez andrew.vasq...@qlogic.com 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(). Signed-off-by: Andrew Vasquez

Re: [PATCH] qla2xxx: Correct loop_id_map allocation-size and usage.

2012-09-20 Thread James Bottomley
On Thu, 2012-09-20 at 03:39 -0400, Saurav Kashyap wrote: From: Andrew Vasquez andrew.vasq...@qlogic.com 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