diff options
author | James Smart <james.smart@emulex.com> | 2014-02-20 15:57:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 18:18:57 +0100 |
commit | 76fd07a632483c85ea24f383f02b92fabf468434 (patch) | |
tree | 33cba976b54c2ac9af47f65284075f49fa1546e6 /drivers/scsi/lpfc/lpfc_sli4.h | |
parent | [SCSI] lpfc 8.3.45: Incorporate changes to use reason in change_queue_depth f... (diff) | |
download | linux-76fd07a632483c85ea24f383f02b92fabf468434.tar.xz linux-76fd07a632483c85ea24f383f02b92fabf468434.zip |
[SCSI] lpfc 8.3.45: Fix sysfs buffer overrun in read of lpfc_fcp_cpu_map for 128 CPUs.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h index e43259075e92..9b8cda866176 100644 --- a/drivers/scsi/lpfc/lpfc_sli4.h +++ b/drivers/scsi/lpfc/lpfc_sli4.h @@ -607,6 +607,7 @@ struct lpfc_sli4_hba { struct lpfc_vector_map_info *cpu_map; uint16_t num_online_cpu; uint16_t num_present_cpu; + uint16_t curr_disp_cpu; }; enum lpfc_sge_type { |