Commit 0ecc833bac594099505a090cbca6ccd5b83d5975
1 parent
aee0c612b1
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
mode_t, whack-a-mole at 11...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Showing 7 changed files with 9 additions and 9 deletions Side-by-side Diff
drivers/net/wireless/ath/wil6210/debugfs.c
... | ... | @@ -216,7 +216,7 @@ |
216 | 216 | wil_debugfs_iomem_x32_set, "0x%08llx\n"); |
217 | 217 | |
218 | 218 | static struct dentry *wil_debugfs_create_iomem_x32(const char *name, |
219 | - mode_t mode, | |
219 | + umode_t mode, | |
220 | 220 | struct dentry *parent, |
221 | 221 | void __iomem *value) |
222 | 222 | { |
... | ... | @@ -367,7 +367,7 @@ |
367 | 367 | |
368 | 368 | static |
369 | 369 | struct dentry *wil_debugfs_create_ioblob(const char *name, |
370 | - mode_t mode, | |
370 | + umode_t mode, | |
371 | 371 | struct dentry *parent, |
372 | 372 | struct debugfs_blob_wrapper *blob) |
373 | 373 | { |
drivers/staging/dgrp/dgrp_common.h
... | ... | @@ -120,7 +120,7 @@ |
120 | 120 | struct dgrp_proc_entry { |
121 | 121 | int id; /* Integer identifier */ |
122 | 122 | const char *name; /* ASCII identifier */ |
123 | - mode_t mode; /* File access permissions */ | |
123 | + umode_t mode; /* File access permissions */ | |
124 | 124 | struct dgrp_proc_entry *child; /* Child pointer */ |
125 | 125 | |
126 | 126 | /* file ops to use, pass NULL to use default */ |
drivers/staging/dgrp/dgrp_specproc.c
fs/f2fs/acl.c
fs/f2fs/dir.c
fs/proc/self.c
lib/notifier-error-inject.c
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set, |
18 | 18 | "%lld\n"); |
19 | 19 | |
20 | -static struct dentry *debugfs_create_errno(const char *name, mode_t mode, | |
20 | +static struct dentry *debugfs_create_errno(const char *name, umode_t mode, | |
21 | 21 | struct dentry *parent, int *value) |
22 | 22 | { |
23 | 23 | return debugfs_create_file(name, mode, parent, value, &fops_errno); |
... | ... | @@ -50,7 +50,7 @@ |
50 | 50 | struct notifier_err_inject *err_inject, int priority) |
51 | 51 | { |
52 | 52 | struct notifier_err_inject_action *action; |
53 | - mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; | |
53 | + umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; | |
54 | 54 | struct dentry *dir; |
55 | 55 | struct dentry *actions_dir; |
56 | 56 |