mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
Sincef44ac12f1d, 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:f44ac12f1d"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]>