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
48123e0e
Commit
48123e0e
authored
Sep 02, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: add proper packing to all greybus message types
parent
3be03d42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
drivers/staging/greybus/greybus_desc.h
drivers/staging/greybus/greybus_desc.h
+4
-0
drivers/staging/greybus/svc_msg.h
drivers/staging/greybus/svc_msg.h
+4
-0
No files found.
drivers/staging/greybus/greybus_desc.h
View file @
48123e0e
...
...
@@ -10,6 +10,8 @@
#ifndef __GREYBUS_DESC_H
#define __GREYBUS_DESC_H
#pragma pack(push, 1)
struct
greybus_descriptor_block_header
{
__le16
size
;
__u8
version_major
;
...
...
@@ -92,4 +94,6 @@ struct greybus_descriptor {
};
};
#pragma pack(pop)
#endif
/* __GREYBUS_DESC_H */
drivers/staging/greybus/svc_msg.h
View file @
48123e0e
...
...
@@ -10,6 +10,8 @@
#ifndef __SVC_MSG_H
#define __SVC_MSG_H
#pragma pack(push, 1)
enum
svc_function_type
{
SVC_FUNCTION_HANDSHAKE
=
0x00
,
SVC_FUNCTION_UNIPRO_NETWORK_MANAGEMENT
=
0x01
,
...
...
@@ -161,4 +163,6 @@ struct svc_msg {
};
};
#pragma pack(pop)
#endif
/* __SVC_MSG_H */
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