Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
0ecc833b
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0ecc833b
编写于
3月 29, 2013
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mode_t, whack-a-mole at 11...
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
aee0c612
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
9 addition
and
9 deletion
+9
-9
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/net/wireless/ath/wil6210/debugfs.c
+2
-2
drivers/staging/dgrp/dgrp_common.h
drivers/staging/dgrp/dgrp_common.h
+1
-1
drivers/staging/dgrp/dgrp_specproc.c
drivers/staging/dgrp/dgrp_specproc.c
+1
-1
fs/f2fs/acl.c
fs/f2fs/acl.c
+1
-1
fs/f2fs/dir.c
fs/f2fs/dir.c
+1
-1
fs/proc/self.c
fs/proc/self.c
+1
-1
lib/notifier-error-inject.c
lib/notifier-error-inject.c
+2
-2
未找到文件。
drivers/net/wireless/ath/wil6210/debugfs.c
浏览文件 @
0ecc833b
...
@@ -216,7 +216,7 @@ DEFINE_SIMPLE_ATTRIBUTE(fops_iomem_x32, wil_debugfs_iomem_x32_get,
...
@@ -216,7 +216,7 @@ DEFINE_SIMPLE_ATTRIBUTE(fops_iomem_x32, wil_debugfs_iomem_x32_get,
wil_debugfs_iomem_x32_set
,
"0x%08llx
\n
"
);
wil_debugfs_iomem_x32_set
,
"0x%08llx
\n
"
);
static
struct
dentry
*
wil_debugfs_create_iomem_x32
(
const
char
*
name
,
static
struct
dentry
*
wil_debugfs_create_iomem_x32
(
const
char
*
name
,
mode_t
mode
,
u
mode_t
mode
,
struct
dentry
*
parent
,
struct
dentry
*
parent
,
void
__iomem
*
value
)
void
__iomem
*
value
)
{
{
...
@@ -367,7 +367,7 @@ static const struct file_operations fops_ioblob = {
...
@@ -367,7 +367,7 @@ static const struct file_operations fops_ioblob = {
static
static
struct
dentry
*
wil_debugfs_create_ioblob
(
const
char
*
name
,
struct
dentry
*
wil_debugfs_create_ioblob
(
const
char
*
name
,
mode_t
mode
,
u
mode_t
mode
,
struct
dentry
*
parent
,
struct
dentry
*
parent
,
struct
debugfs_blob_wrapper
*
blob
)
struct
debugfs_blob_wrapper
*
blob
)
{
{
...
...
drivers/staging/dgrp/dgrp_common.h
浏览文件 @
0ecc833b
...
@@ -120,7 +120,7 @@ enum {
...
@@ -120,7 +120,7 @@ enum {
struct
dgrp_proc_entry
{
struct
dgrp_proc_entry
{
int
id
;
/* Integer identifier */
int
id
;
/* Integer identifier */
const
char
*
name
;
/* ASCII identifier */
const
char
*
name
;
/* ASCII identifier */
mode_t
mode
;
/* File access permissions */
umode_t
mode
;
/* File access permissions */
struct
dgrp_proc_entry
*
child
;
/* Child pointer */
struct
dgrp_proc_entry
*
child
;
/* Child pointer */
/* file ops to use, pass NULL to use default */
/* file ops to use, pass NULL to use default */
...
...
drivers/staging/dgrp/dgrp_specproc.c
浏览文件 @
0ecc833b
...
@@ -228,7 +228,7 @@ static void register_proc_table(struct dgrp_proc_entry *table,
...
@@ -228,7 +228,7 @@ static void register_proc_table(struct dgrp_proc_entry *table,
{
{
struct
proc_dir_entry
*
de
;
struct
proc_dir_entry
*
de
;
int
len
;
int
len
;
mode_t
mode
;
u
mode_t
mode
;
if
(
table
==
NULL
)
if
(
table
==
NULL
)
return
;
return
;
...
...
fs/f2fs/acl.c
浏览文件 @
0ecc833b
...
@@ -299,7 +299,7 @@ int f2fs_acl_chmod(struct inode *inode)
...
@@ -299,7 +299,7 @@ int f2fs_acl_chmod(struct inode *inode)
struct
f2fs_sb_info
*
sbi
=
F2FS_SB
(
inode
->
i_sb
);
struct
f2fs_sb_info
*
sbi
=
F2FS_SB
(
inode
->
i_sb
);
struct
posix_acl
*
acl
;
struct
posix_acl
*
acl
;
int
error
;
int
error
;
mode_t
mode
=
get_inode_mode
(
inode
);
u
mode_t
mode
=
get_inode_mode
(
inode
);
if
(
!
test_opt
(
sbi
,
POSIX_ACL
))
if
(
!
test_opt
(
sbi
,
POSIX_ACL
))
return
0
;
return
0
;
...
...
fs/f2fs/dir.c
浏览文件 @
0ecc833b
...
@@ -60,7 +60,7 @@ static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = {
...
@@ -60,7 +60,7 @@ static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = {
static
void
set_de_type
(
struct
f2fs_dir_entry
*
de
,
struct
inode
*
inode
)
static
void
set_de_type
(
struct
f2fs_dir_entry
*
de
,
struct
inode
*
inode
)
{
{
mode_t
mode
=
inode
->
i_mode
;
u
mode_t
mode
=
inode
->
i_mode
;
de
->
file_type
=
f2fs_type_by_mode
[(
mode
&
S_IFMT
)
>>
S_SHIFT
];
de
->
file_type
=
f2fs_type_by_mode
[(
mode
&
S_IFMT
)
>>
S_SHIFT
];
}
}
...
...
fs/proc/self.c
浏览文件 @
0ecc833b
...
@@ -51,7 +51,7 @@ static const struct inode_operations proc_self_inode_operations = {
...
@@ -51,7 +51,7 @@ static const struct inode_operations proc_self_inode_operations = {
void
__init
proc_self_init
(
void
)
void
__init
proc_self_init
(
void
)
{
{
struct
proc_dir_entry
*
proc_self_symlink
;
struct
proc_dir_entry
*
proc_self_symlink
;
mode_t
mode
;
u
mode_t
mode
;
mode
=
S_IFLNK
|
S_IRWXUGO
;
mode
=
S_IFLNK
|
S_IRWXUGO
;
proc_self_symlink
=
proc_create
(
"self"
,
mode
,
NULL
,
NULL
);
proc_self_symlink
=
proc_create
(
"self"
,
mode
,
NULL
,
NULL
);
...
...
lib/notifier-error-inject.c
浏览文件 @
0ecc833b
...
@@ -17,7 +17,7 @@ static int debugfs_errno_get(void *data, u64 *val)
...
@@ -17,7 +17,7 @@ static int debugfs_errno_get(void *data, u64 *val)
DEFINE_SIMPLE_ATTRIBUTE
(
fops_errno
,
debugfs_errno_get
,
debugfs_errno_set
,
DEFINE_SIMPLE_ATTRIBUTE
(
fops_errno
,
debugfs_errno_get
,
debugfs_errno_set
,
"%lld
\n
"
);
"%lld
\n
"
);
static
struct
dentry
*
debugfs_create_errno
(
const
char
*
name
,
mode_t
mode
,
static
struct
dentry
*
debugfs_create_errno
(
const
char
*
name
,
u
mode_t
mode
,
struct
dentry
*
parent
,
int
*
value
)
struct
dentry
*
parent
,
int
*
value
)
{
{
return
debugfs_create_file
(
name
,
mode
,
parent
,
value
,
&
fops_errno
);
return
debugfs_create_file
(
name
,
mode
,
parent
,
value
,
&
fops_errno
);
...
@@ -50,7 +50,7 @@ struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent,
...
@@ -50,7 +50,7 @@ struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent,
struct
notifier_err_inject
*
err_inject
,
int
priority
)
struct
notifier_err_inject
*
err_inject
,
int
priority
)
{
{
struct
notifier_err_inject_action
*
action
;
struct
notifier_err_inject_action
*
action
;
mode_t
mode
=
S_IFREG
|
S_IRUSR
|
S_IWUSR
;
u
mode_t
mode
=
S_IFREG
|
S_IRUSR
|
S_IWUSR
;
struct
dentry
*
dir
;
struct
dentry
*
dir
;
struct
dentry
*
actions_dir
;
struct
dentry
*
actions_dir
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录