Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4f8ad738
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4f8ad738
编写于
6月 07, 2020
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
上级
9049a40c
fcdf818d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
12 deletion
+13
-12
arch/sparc/kernel/cpumap.c
arch/sparc/kernel/cpumap.c
+1
-1
arch/sparc/kernel/ds.c
arch/sparc/kernel/ds.c
+4
-4
arch/sparc/kernel/pci.c
arch/sparc/kernel/pci.c
+1
-1
arch/sparc/kernel/vio.c
arch/sparc/kernel/vio.c
+1
-1
arch/sparc/mm/init_64.c
arch/sparc/mm/init_64.c
+5
-5
drivers/tty/vcc.c
drivers/tty/vcc.c
+1
-0
未找到文件。
arch/sparc/kernel/cpumap.c
浏览文件 @
4f8ad738
...
...
@@ -50,7 +50,7 @@ struct cpuinfo_tree {
/* Offsets into nodes[] for each level of the tree */
struct
cpuinfo_level
level
[
CPUINFO_LVL_MAX
];
struct
cpuinfo_node
nodes
[
0
];
struct
cpuinfo_node
nodes
[];
};
...
...
arch/sparc/kernel/ds.c
浏览文件 @
4f8ad738
...
...
@@ -87,7 +87,7 @@ struct ds_reg_req {
__u64
handle
;
__u16
major
;
__u16
minor
;
char
svc_id
[
0
];
char
svc_id
[];
};
struct
ds_reg_ack
{
...
...
@@ -701,12 +701,12 @@ struct ds_var_hdr {
struct
ds_var_set_msg
{
struct
ds_var_hdr
hdr
;
char
name_and_value
[
0
];
char
name_and_value
[];
};
struct
ds_var_delete_msg
{
struct
ds_var_hdr
hdr
;
char
name
[
0
];
char
name
[];
};
struct
ds_var_resp
{
...
...
@@ -989,7 +989,7 @@ struct ds_queue_entry {
struct
ds_info
*
dp
;
int
req_len
;
int
__pad
;
u64
req
[
0
];
u64
req
[];
};
static
void
process_ds_work
(
void
)
...
...
arch/sparc/kernel/pci.c
浏览文件 @
4f8ad738
...
...
@@ -593,7 +593,7 @@ show_pciobppath_attr(struct device * dev, struct device_attribute * attr, char *
pdev
=
to_pci_dev
(
dev
);
dp
=
pdev
->
dev
.
of_node
;
return
s
nprintf
(
buf
,
PAGE_SIZE
,
"%pOF
\n
"
,
dp
);
return
s
cnprintf
(
buf
,
PAGE_SIZE
,
"%pOF
\n
"
,
dp
);
}
static
DEVICE_ATTR
(
obppath
,
S_IRUSR
|
S_IRGRP
|
S_IROTH
,
show_pciobppath_attr
,
NULL
);
...
...
arch/sparc/kernel/vio.c
浏览文件 @
4f8ad738
...
...
@@ -193,7 +193,7 @@ show_pciobppath_attr(struct device *dev, struct device_attribute *attr,
vdev
=
to_vio_dev
(
dev
);
dp
=
vdev
->
dp
;
return
s
nprintf
(
buf
,
PAGE_SIZE
,
"%pOF
\n
"
,
dp
);
return
s
cnprintf
(
buf
,
PAGE_SIZE
,
"%pOF
\n
"
,
dp
);
}
static
DEVICE_ATTR
(
obppath
,
S_IRUSR
|
S_IRGRP
|
S_IROTH
,
...
...
arch/sparc/mm/init_64.c
浏览文件 @
4f8ad738
...
...
@@ -1674,29 +1674,29 @@ bool kern_addr_valid(unsigned long addr)
pgd
=
pgd_offset_k
(
addr
);
if
(
pgd_none
(
*
pgd
))
return
0
;
return
false
;
p4d
=
p4d_offset
(
pgd
,
addr
);
if
(
p4d_none
(
*
p4d
))
return
0
;
return
false
;
pud
=
pud_offset
(
p4d
,
addr
);
if
(
pud_none
(
*
pud
))
return
0
;
return
false
;
if
(
pud_large
(
*
pud
))
return
pfn_valid
(
pud_pfn
(
*
pud
));
pmd
=
pmd_offset
(
pud
,
addr
);
if
(
pmd_none
(
*
pmd
))
return
0
;
return
false
;
if
(
pmd_large
(
*
pmd
))
return
pfn_valid
(
pmd_pfn
(
*
pmd
));
pte
=
pte_offset_kernel
(
pmd
,
addr
);
if
(
pte_none
(
*
pte
))
return
0
;
return
false
;
return
pfn_valid
(
pte_pfn
(
*
pte
));
}
...
...
drivers/tty/vcc.c
浏览文件 @
4f8ad738
...
...
@@ -605,6 +605,7 @@ static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id)
port
->
index
=
vcc_table_add
(
port
);
if
(
port
->
index
==
-
1
)
{
pr_err
(
"VCC: no more TTY indices left for allocation
\n
"
);
rv
=
-
ENOMEM
;
goto
free_ldc
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录