Merge branch 'for-5.7/ish' into for-linus
- C99 code purification in intel-ish-hid from Gustavo A. R. Silva
This commit is contained in:
commit
0460ceb8c5
|
@ -82,7 +82,7 @@ struct ishtp_msg_hdr {
|
|||
|
||||
struct ishtp_bus_message {
|
||||
uint8_t hbm_cmd;
|
||||
uint8_t data[0];
|
||||
uint8_t data[];
|
||||
} __packed;
|
||||
|
||||
/**
|
||||
|
|
|
@ -214,7 +214,7 @@ struct ishtp_device {
|
|||
const struct ishtp_hw_ops *ops;
|
||||
size_t mtu;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue