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
36a557d1
Commit
36a557d1
authored
Jun 15, 2006
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull trivial into release branch
parents
4e8f10b7
6665bda7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+3
-0
drivers/acpi/hotkey.c
drivers/acpi/hotkey.c
+2
-0
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+3
-1
drivers/acpi/video.c
drivers/acpi/video.c
+1
-1
No files found.
Documentation/kernel-parameters.txt
View file @
36a557d1
...
...
@@ -147,6 +147,9 @@ running once the system is up.
acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
Format: <irq>,<irq>...
acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
Format: To spoof as Windows 98: ="Microsoft Windows"
acpi_osi= [HW,ACPI] empty param disables _OSI
acpi_serialize [HW,ACPI] force serialization of AML methods
...
...
drivers/acpi/hotkey.c
View file @
36a557d1
...
...
@@ -723,6 +723,8 @@ get_parms(char *config_record,
goto
do_fail
;
count
=
tmp1
-
tmp
;
*
action_handle
=
(
char
*
)
kmalloc
(
count
+
1
,
GFP_KERNEL
);
if
(
!*
action_handle
)
goto
do_fail
;
strncpy
(
*
action_handle
,
tmp
,
count
);
*
(
*
action_handle
+
count
)
=
0
;
...
...
drivers/acpi/thermal.c
View file @
36a557d1
...
...
@@ -941,8 +941,10 @@ acpi_thermal_write_trip_points(struct file *file,
memset
(
limit_string
,
0
,
ACPI_THERMAL_MAX_LIMIT_STR_LEN
);
active
=
kmalloc
(
ACPI_THERMAL_MAX_ACTIVE
*
sizeof
(
int
),
GFP_KERNEL
);
if
(
!
active
)
if
(
!
active
)
{
kfree
(
limit_string
);
return_VALUE
(
-
ENOMEM
);
}
if
(
!
tz
||
(
count
>
ACPI_THERMAL_MAX_LIMIT_STR_LEN
-
1
))
{
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
"Invalid argument
\n
"
));
...
...
drivers/acpi/video.c
View file @
36a557d1
...
...
@@ -323,7 +323,7 @@ acpi_video_device_lcd_query_levels(struct acpi_video_device *device,
if
(
!
ACPI_SUCCESS
(
status
))
return_VALUE
(
status
);
obj
=
(
union
acpi_object
*
)
buffer
.
pointer
;
if
(
!
obj
&&
(
obj
->
type
!=
ACPI_TYPE_PACKAGE
))
{
if
(
!
obj
||
(
obj
->
type
!=
ACPI_TYPE_PACKAGE
))
{
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
"Invalid _BCL data
\n
"
));
status
=
-
EFAULT
;
goto
err
;
...
...
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