We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e19b205 + aaf2c2f commit 333d177Copy full SHA for 333d177
drivers/acpi/apei/ghes.c
@@ -743,17 +743,19 @@ static int ghes_proc(struct ghes *ghes)
743
}
744
ghes_do_proc(ghes, ghes->estatus);
745
746
+out:
747
+ ghes_clear_estatus(ghes);
748
+
749
+ if (rc == -ENOENT)
750
+ return rc;
751
752
/*
753
* GHESv2 type HEST entries introduce support for error acknowledgment,
754
* so only acknowledge the error if this support is present.
755
*/
- if (is_hest_type_generic_v2(ghes)) {
- rc = ghes_ack_error(ghes->generic_v2);
- if (rc)
- return rc;
- }
-out:
756
- ghes_clear_estatus(ghes);
+ if (is_hest_type_generic_v2(ghes))
757
+ return ghes_ack_error(ghes->generic_v2);
758
759
return rc;
760
761
0 commit comments