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
322543a3
Commit
322543a3
authored
Oct 02, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: operation: fix endian issue in the operation message header size field.
parent
ad1c449e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.c
+1
-1
No files found.
drivers/staging/greybus/operation.c
View file @
322543a3
...
...
@@ -139,7 +139,7 @@ struct gb_operation *gb_operation_create(struct gb_connection *connection,
operation
->
gbuf
=
gbuf
;
header
=
(
struct
gb_operation_msg_hdr
*
)
&
gbuf
->
transfer_buffer
;
header
->
id
=
0
;
header
->
size
=
size
;
header
->
size
=
cpu_to_le16
(
size
)
;
operation
->
payload
=
(
char
*
)
header
+
sizeof
(
*
header
);
operation
->
callback
=
NULL
;
/* set at submit time */
...
...
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