Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286478
b: refs/heads/master
c: ad68615
h: refs/heads/master
v: v3
  • Loading branch information
Huang Ying authored and Len Brown committed Jan 17, 2012
1 parent ff63f91 commit 96fd5e1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46b91e379f7180b482b789fbe615946d91e3a07f
refs/heads/master: ad6861547b52ad7c31eacc336b79ac91d7fded75
5 changes: 2 additions & 3 deletions trunk/drivers/acpi/apei/einj.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,9 @@ static int __init einj_init(void)

status = acpi_get_table(ACPI_SIG_EINJ, 0,
(struct acpi_table_header **)&einj_tab);
if (status == AE_NOT_FOUND) {
pr_info(EINJ_PFX "Table is not found!\n");
if (status == AE_NOT_FOUND)
return -ENODEV;
} else if (ACPI_FAILURE(status)) {
else if (ACPI_FAILURE(status)) {
const char *msg = acpi_format_exception(status);
pr_err(EINJ_PFX "Failed to get table, %s\n", msg);
return -EINVAL;
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/acpi/apei/erst.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,10 +1125,9 @@ static int __init erst_init(void)

status = acpi_get_table(ACPI_SIG_ERST, 0,
(struct acpi_table_header **)&erst_tab);
if (status == AE_NOT_FOUND) {
pr_info(ERST_PFX "Table is not found!\n");
if (status == AE_NOT_FOUND)
goto err;
} else if (ACPI_FAILURE(status)) {
else if (ACPI_FAILURE(status)) {
const char *msg = acpi_format_exception(status);
pr_err(ERST_PFX "Failed to get table, %s\n", msg);
rc = -EINVAL;
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/acpi/apei/hest.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,9 @@ void __init acpi_hest_init(void)

status = acpi_get_table(ACPI_SIG_HEST, 0,
(struct acpi_table_header **)&hest_tab);
if (status == AE_NOT_FOUND) {
pr_info(HEST_PFX "Table not found.\n");
if (status == AE_NOT_FOUND)
goto err;
} else if (ACPI_FAILURE(status)) {
else if (ACPI_FAILURE(status)) {
const char *msg = acpi_format_exception(status);
pr_err(HEST_PFX "Failed to get table, %s\n", msg);
rc = -EINVAL;
Expand Down

0 comments on commit 96fd5e1

Please sign in to comment.