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
Kirill Smelkov
linux
Commits
bf900afb
Commit
bf900afb
authored
Feb 23, 2013
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acpi-cleanup' into fixes
* acpi-cleanup: ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off
parents
d3caf894
a84363d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/acpi/apei/hest.c
drivers/acpi/apei/hest.c
+1
-4
No files found.
drivers/acpi/apei/hest.c
View file @
bf900afb
...
...
@@ -89,7 +89,7 @@ int apei_hest_parse(apei_hest_func_t func, void *data)
struct
acpi_hest_header
*
hest_hdr
;
int
i
,
rc
,
len
;
if
(
hest_disable
)
if
(
hest_disable
||
!
hest_tab
)
return
-
EINVAL
;
hest_hdr
=
(
struct
acpi_hest_header
*
)(
hest_tab
+
1
);
...
...
@@ -216,9 +216,6 @@ void __init acpi_hest_init(void)
return
;
}
if
(
acpi_disabled
)
goto
err
;
status
=
acpi_get_table
(
ACPI_SIG_HEST
,
0
,
(
struct
acpi_table_header
**
)
&
hest_tab
);
if
(
status
==
AE_NOT_FOUND
)
...
...
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