Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
333d1774
Commit
333d1774
authored
Sep 28, 2017
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acpi-apei'
* acpi-apei: ACPI / APEI: clear error status before acknowledging the error
parents
e19b205b
aaf2c2fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
drivers/acpi/apei/ghes.c
drivers/acpi/apei/ghes.c
+9
-7
No files found.
drivers/acpi/apei/ghes.c
View file @
333d1774
...
...
@@ -743,17 +743,19 @@ static int ghes_proc(struct ghes *ghes)
}
ghes_do_proc
(
ghes
,
ghes
->
estatus
);
out:
ghes_clear_estatus
(
ghes
);
if
(
rc
==
-
ENOENT
)
return
rc
;
/*
* GHESv2 type HEST entries introduce support for error acknowledgment,
* so only acknowledge the error if this support is present.
*/
if
(
is_hest_type_generic_v2
(
ghes
))
{
rc
=
ghes_ack_error
(
ghes
->
generic_v2
);
if
(
rc
)
return
rc
;
}
out:
ghes_clear_estatus
(
ghes
);
if
(
is_hest_type_generic_v2
(
ghes
))
return
ghes_ack_error
(
ghes
->
generic_v2
);
return
rc
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment