Loading drivers/acpi/apei/bert.c +4 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static int __init bert_init(void) rc = bert_check_table(bert_tab); if (rc) { pr_err(FW_BUG "table invalid.\n"); return rc; goto out_put_bert_tab; } region_len = bert_tab->region_length; Loading @@ -127,7 +127,7 @@ static int __init bert_init(void) rc = apei_resources_add(&bert_resources, bert_tab->address, region_len, true); if (rc) return rc; goto out_put_bert_tab; rc = apei_resources_request(&bert_resources, "APEI BERT"); if (rc) goto out_fini; Loading @@ -142,6 +142,8 @@ static int __init bert_init(void) apei_resources_release(&bert_resources); out_fini: apei_resources_fini(&bert_resources); out_put_bert_tab: acpi_put_table((struct acpi_table_header *)bert_tab); return rc; } Loading Loading
drivers/acpi/apei/bert.c +4 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static int __init bert_init(void) rc = bert_check_table(bert_tab); if (rc) { pr_err(FW_BUG "table invalid.\n"); return rc; goto out_put_bert_tab; } region_len = bert_tab->region_length; Loading @@ -127,7 +127,7 @@ static int __init bert_init(void) rc = apei_resources_add(&bert_resources, bert_tab->address, region_len, true); if (rc) return rc; goto out_put_bert_tab; rc = apei_resources_request(&bert_resources, "APEI BERT"); if (rc) goto out_fini; Loading @@ -142,6 +142,8 @@ static int __init bert_init(void) apei_resources_release(&bert_resources); out_fini: apei_resources_fini(&bert_resources); out_put_bert_tab: acpi_put_table((struct acpi_table_header *)bert_tab); return rc; } Loading