Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
a4fd4946
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a4fd4946
编写于
8月 25, 2007
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Pull misc into release branch
上级
a3a1b26e
5e1f198b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
9 addition
and
7 deletion
+9
-7
drivers/acpi/namespace/nsxfeval.c
drivers/acpi/namespace/nsxfeval.c
+1
-1
drivers/acpi/scan.c
drivers/acpi/scan.c
+3
-2
drivers/acpi/sleep/main.c
drivers/acpi/sleep/main.c
+1
-1
drivers/acpi/utilities/utglobal.c
drivers/acpi/utilities/utglobal.c
+1
-0
drivers/pci/hotplug/acpiphp_ibm.c
drivers/pci/hotplug/acpiphp_ibm.c
+1
-1
include/acpi/acpixf.h
include/acpi/acpixf.h
+1
-1
include/acpi/acstruct.h
include/acpi/acstruct.h
+1
-1
未找到文件。
drivers/acpi/namespace/nsxfeval.c
浏览文件 @
a4fd4946
...
@@ -540,7 +540,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
...
@@ -540,7 +540,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
******************************************************************************/
******************************************************************************/
acpi_status
acpi_status
acpi_get_devices
(
char
*
HID
,
acpi_get_devices
(
c
onst
c
har
*
HID
,
acpi_walk_callback
user_function
,
acpi_walk_callback
user_function
,
void
*
context
,
void
**
return_value
)
void
*
context
,
void
**
return_value
)
{
{
...
...
drivers/acpi/scan.c
浏览文件 @
a4fd4946
...
@@ -35,8 +35,9 @@ struct acpi_device_bus_id{
...
@@ -35,8 +35,9 @@ struct acpi_device_bus_id{
* e.g. on a device with hid:IBM0001 and cid:ACPI0001 you get:
* e.g. on a device with hid:IBM0001 and cid:ACPI0001 you get:
* char *modalias: "acpi:IBM0001:ACPI0001"
* char *modalias: "acpi:IBM0001:ACPI0001"
*/
*/
int
create_modalias
(
struct
acpi_device
*
acpi_dev
,
char
*
modalias
,
int
size
){
static
int
create_modalias
(
struct
acpi_device
*
acpi_dev
,
char
*
modalias
,
int
size
)
{
int
len
;
int
len
;
if
(
!
acpi_dev
->
flags
.
hardware_id
)
if
(
!
acpi_dev
->
flags
.
hardware_id
)
...
...
drivers/acpi/sleep/main.c
浏览文件 @
a4fd4946
...
@@ -305,7 +305,7 @@ int acpi_pm_device_sleep_state(struct device *dev, int wake, int *d_min_p)
...
@@ -305,7 +305,7 @@ int acpi_pm_device_sleep_state(struct device *dev, int wake, int *d_min_p)
unsigned
long
d_min
,
d_max
;
unsigned
long
d_min
,
d_max
;
if
(
!
handle
||
ACPI_FAILURE
(
acpi_bus_get_device
(
handle
,
&
adev
)))
{
if
(
!
handle
||
ACPI_FAILURE
(
acpi_bus_get_device
(
handle
,
&
adev
)))
{
printk
(
KERN_
ERR
"ACPI handle has no context!
\n
"
);
printk
(
KERN_
DEBUG
"ACPI handle has no context!
\n
"
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
...
...
drivers/acpi/utilities/utglobal.c
浏览文件 @
a4fd4946
...
@@ -126,6 +126,7 @@ const char *acpi_format_exception(acpi_status status)
...
@@ -126,6 +126,7 @@ const char *acpi_format_exception(acpi_status status)
"Unknown exception code: 0x%8.8X"
,
status
));
"Unknown exception code: 0x%8.8X"
,
status
));
exception
=
"UNKNOWN_STATUS_CODE"
;
exception
=
"UNKNOWN_STATUS_CODE"
;
dump_stack
();
}
}
return
(
ACPI_CAST_PTR
(
const
char
,
exception
));
return
(
ACPI_CAST_PTR
(
const
char
,
exception
));
...
...
drivers/pci/hotplug/acpiphp_ibm.c
浏览文件 @
a4fd4946
...
@@ -399,7 +399,7 @@ static acpi_status __init ibm_find_acpi_device(acpi_handle handle,
...
@@ -399,7 +399,7 @@ static acpi_status __init ibm_find_acpi_device(acpi_handle handle,
status
=
acpi_get_object_info
(
handle
,
&
info_buffer
);
status
=
acpi_get_object_info
(
handle
,
&
info_buffer
);
if
(
ACPI_FAILURE
(
status
))
{
if
(
ACPI_FAILURE
(
status
))
{
err
(
"%s: Failed to get device information"
,
__FUNCTION__
);
err
(
"%s: Failed to get device information
\n
"
,
__FUNCTION__
);
return
0
;
return
0
;
}
}
info
.
hardware_id
.
value
[
sizeof
(
info
.
hardware_id
.
value
)
-
1
]
=
'\0'
;
info
.
hardware_id
.
value
[
sizeof
(
info
.
hardware_id
.
value
)
-
1
]
=
'\0'
;
...
...
include/acpi/acpixf.h
浏览文件 @
a4fd4946
...
@@ -130,7 +130,7 @@ acpi_walk_namespace(acpi_object_type type,
...
@@ -130,7 +130,7 @@ acpi_walk_namespace(acpi_object_type type,
void
*
context
,
void
**
return_value
);
void
*
context
,
void
**
return_value
);
acpi_status
acpi_status
acpi_get_devices
(
char
*
HID
,
acpi_get_devices
(
c
onst
c
har
*
HID
,
acpi_walk_callback
user_function
,
acpi_walk_callback
user_function
,
void
*
context
,
void
**
return_value
);
void
*
context
,
void
**
return_value
);
...
...
include/acpi/acstruct.h
浏览文件 @
a4fd4946
...
@@ -146,7 +146,7 @@ struct acpi_init_walk_info {
...
@@ -146,7 +146,7 @@ struct acpi_init_walk_info {
struct
acpi_get_devices_info
{
struct
acpi_get_devices_info
{
acpi_walk_callback
user_function
;
acpi_walk_callback
user_function
;
void
*
context
;
void
*
context
;
char
*
hid
;
c
onst
c
har
*
hid
;
};
};
union
acpi_aml_operands
{
union
acpi_aml_operands
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录