Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
15c130c1
K
Kernel
项目概览
openeuler
/
Kernel
大约 2 年 前同步成功
通知
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看板
提交
15c130c1
编写于
10月 04, 2006
作者:
M
Matthew Wilcox
提交者:
Matthew Wilcox
10月 05, 2006
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PA-RISC] Fix filldir warnings
filldir_t now takes a u64, not an ino_t. Signed-off-by:
N
Matthew Wilcox
<
matthew@wil.cx
>
上级
17cca072
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
7 deletion
+5
-7
arch/parisc/hpux/fs.c
arch/parisc/hpux/fs.c
+1
-1
arch/parisc/kernel/sys_parisc32.c
arch/parisc/kernel/sys_parisc32.c
+4
-6
未找到文件。
arch/parisc/hpux/fs.c
浏览文件 @
15c130c1
...
@@ -73,7 +73,7 @@ struct getdents_callback {
...
@@ -73,7 +73,7 @@ struct getdents_callback {
#define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1))
#define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1))
static
int
filldir
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
loff_t
offset
,
static
int
filldir
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
loff_t
offset
,
ino_t
ino
,
unsigned
d_type
)
u64
ino
,
unsigned
d_type
)
{
{
struct
hpux_dirent
*
dirent
;
struct
hpux_dirent
*
dirent
;
struct
getdents_callback
*
buf
=
(
struct
getdents_callback
*
)
__buf
;
struct
getdents_callback
*
buf
=
(
struct
getdents_callback
*
)
__buf
;
...
...
arch/parisc/kernel/sys_parisc32.c
浏览文件 @
15c130c1
...
@@ -313,9 +313,8 @@ struct readdir32_callback {
...
@@ -313,9 +313,8 @@ struct readdir32_callback {
#define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1)))
#define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1)))
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de)))
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de)))
static
int
static
int
filldir32
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
filldir32
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
loff_t
offset
,
ino_t
ino
,
loff_t
offset
,
u64
ino
,
unsigned
int
d_type
)
unsigned
int
d_type
)
{
{
struct
linux32_dirent
__user
*
dirent
;
struct
linux32_dirent
__user
*
dirent
;
struct
getdents32_callback
*
buf
=
(
struct
getdents32_callback
*
)
__buf
;
struct
getdents32_callback
*
buf
=
(
struct
getdents32_callback
*
)
__buf
;
...
@@ -377,9 +376,8 @@ sys32_getdents (unsigned int fd, void __user * dirent, unsigned int count)
...
@@ -377,9 +376,8 @@ sys32_getdents (unsigned int fd, void __user * dirent, unsigned int count)
return
error
;
return
error
;
}
}
static
int
static
int
fillonedir32
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
fillonedir32
(
void
*
__buf
,
const
char
*
name
,
int
namlen
,
loff_t
offset
,
ino_t
ino
,
loff_t
offset
,
u64
ino
,
unsigned
int
d_type
)
unsigned
int
d_type
)
{
{
struct
readdir32_callback
*
buf
=
(
struct
readdir32_callback
*
)
__buf
;
struct
readdir32_callback
*
buf
=
(
struct
readdir32_callback
*
)
__buf
;
struct
old_linux32_dirent
__user
*
dirent
;
struct
old_linux32_dirent
__user
*
dirent
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录