Re: [PATCH] scsi: lpfc: fix block guard enablement on SLI3 adapters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/12/2018 12:58 AM, Martin Wilck wrote:
Since f44ac12f1dcc, BG enablement is tracked with the
LPFC_SLI3_BG_ENABLED bit, which is set in lpfc_get_cfgparam
before lpfc_sli_config_sli_port() is called. The bit
shouldn't be cleared before checking the feature.
Based on problem analysis by David Bond.

Fixes: f44ac12f1dcc "scsi: lpfc: Memory allocation error during driver start-up on power8"
Tested-by: David Bond <dbond@xxxxxxxx>
Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx # 4.17.x
Cc: stable@xxxxxxxxxxxxxxx # 4.18.x
Cc: stable@xxxxxxxxxxxxxxx # 4.19.x
---
  drivers/scsi/lpfc/lpfc_init.c | 6 +++++-
  drivers/scsi/lpfc/lpfc_sli.c  | 1 -
  2 files changed, 5 insertions(+), 2 deletions(-)


thanks

Signed-off-by:  James Smart <jsmart2021@xxxxxxxxx>

-- james




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux