Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi: lpfc: fix block guard enablement on SLI3 adapters
Since f44ac12, 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: f44ac12 "scsi: lpfc: Memory allocation error during driver start-up on power8" Tested-by: David Bond <[email protected]> Signed-off-by: Martin Wilck <[email protected]> Cc: [email protected] # 4.17.x Cc: [email protected] # 4.18.x Cc: [email protected] # 4.19.x Reviewed-by: Hannes Reinecke <[email protected]> Acked-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
- Loading branch information