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
a6294fe8
Commit
a6294fe8
authored
Sep 10, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: fix endian issue in sysfs.c
parent
3d545326
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/staging/greybus/sysfs.c
drivers/staging/greybus/sysfs.c
+1
-1
No files found.
drivers/staging/greybus/sysfs.c
View file @
a6294fe8
...
...
@@ -145,7 +145,7 @@ static ssize_t serial_number_show(struct device *dev,
struct
greybus_device
*
gdev
=
to_greybus_device
(
dev
);
return
sprintf
(
buf
,
"%llX
\n
"
,
(
unsigned
long
long
)
gdev
->
serial_number
.
serial_number
);
(
unsigned
long
long
)
le64_to_cpu
(
gdev
->
serial_number
.
serial_number
)
);
}
static
DEVICE_ATTR_RO
(
serial_number
);
...
...
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