diff options
author | John Soni Jose <sony.john-n@emulex.com> | 2012-10-20 01:12:13 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-27 05:59:36 +0100 |
commit | 107dfcbacb34ceb5b8cd84c3903cab9038f4bdee (patch) | |
tree | 7e36286e14443b95eec2729a5f7830af65d973bb /drivers/scsi/be2iscsi/be_mgmt.h | |
parent | [SCSI] be2iscsi: Fix memory leak in control path of driver (diff) | |
download | linux-107dfcbacb34ceb5b8cd84c3903cab9038f4bdee.tar.xz linux-107dfcbacb34ceb5b8cd84c3903cab9038f4bdee.zip |
[SCSI] be2iscsi: Fix max supported EQ count to 8.
The maximum EQ that can be created for a function is 8. Check the
CPU online count and create only 8 EQ if CPU_Count >= 8
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.h')
0 files changed, 0 insertions, 0 deletions