-
由 Martin Wilck 提交于
Since f44ac12f, 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: f44ac12f "scsi: lpfc: Memory allocation error during driver start-up on power8" Tested-by: NDavid Bond <dbond@suse.com> Signed-off-by: NMartin Wilck <mwilck@suse.com> Cc: stable@vger.kernel.org # 4.17.x Cc: stable@vger.kernel.org # 4.18.x Cc: stable@vger.kernel.org # 4.19.x Reviewed-by: NHannes Reinecke <hare@suse.com> Acked-by: NJames Smart <jsmart2021@gmail.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
dfb75133