Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9104e427
Commit
9104e427
authored
Jul 23, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch sysfs attr->mode to umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2c9ede55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/platform/x86/intel_menlow.c
drivers/platform/x86/intel_menlow.c
+1
-1
include/linux/sysfs.h
include/linux/sysfs.h
+1
-1
No files found.
drivers/platform/x86/intel_menlow.c
View file @
9104e427
...
...
@@ -389,7 +389,7 @@ static ssize_t bios_enabled_show(struct device *dev,
return
sprintf
(
buf
,
"%s
\n
"
,
bios_enabled
?
"enabled"
:
"disabled"
);
}
static
int
intel_menlow_add_one_attribute
(
char
*
name
,
in
t
mode
,
void
*
show
,
static
int
intel_menlow_add_one_attribute
(
char
*
name
,
umode_
t
mode
,
void
*
show
,
void
*
store
,
struct
device
*
dev
,
acpi_handle
handle
)
{
...
...
include/linux/sysfs.h
View file @
9104e427
...
...
@@ -25,7 +25,7 @@ enum kobj_ns_type;
struct
attribute
{
const
char
*
name
;
mode_t
mode
;
u
mode_t
mode
;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
struct
lock_class_key
*
key
;
struct
lock_class_key
skey
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment