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
0460ceb8
Commit
0460ceb8
authored
Apr 01, 2020
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-5.7/ish' into for-linus
- C99 code purification in intel-ish-hid from Gustavo A. R. Silva
parents
4c805fb7
56d8623c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/hid/intel-ish-hid/ishtp/hbm.h
drivers/hid/intel-ish-hid/ishtp/hbm.h
+1
-1
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
+1
-1
No files found.
drivers/hid/intel-ish-hid/ishtp/hbm.h
View file @
0460ceb8
...
@@ -82,7 +82,7 @@ struct ishtp_msg_hdr {
...
@@ -82,7 +82,7 @@ struct ishtp_msg_hdr {
struct
ishtp_bus_message
{
struct
ishtp_bus_message
{
uint8_t
hbm_cmd
;
uint8_t
hbm_cmd
;
uint8_t
data
[
0
];
uint8_t
data
[];
}
__packed
;
}
__packed
;
/**
/**
...
...
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
View file @
0460ceb8
...
@@ -214,7 +214,7 @@ struct ishtp_device {
...
@@ -214,7 +214,7 @@ struct ishtp_device {
const
struct
ishtp_hw_ops
*
ops
;
const
struct
ishtp_hw_ops
*
ops
;
size_t
mtu
;
size_t
mtu
;
uint32_t
ishtp_msg_hdr
;
uint32_t
ishtp_msg_hdr
;
char
hw
[
0
]
__aligned
(
sizeof
(
void
*
));
char
hw
[]
__aligned
(
sizeof
(
void
*
));
};
};
static
inline
unsigned
long
ishtp_secs_to_jiffies
(
unsigned
long
sec
)
static
inline
unsigned
long
ishtp_secs_to_jiffies
(
unsigned
long
sec
)
...
...
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