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:
Jiri Kosina 2020-04-01 13:34:38 +02:00
commit 0460ceb8c5
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ struct ishtp_msg_hdr {
struct ishtp_bus_message {
uint8_t hbm_cmd;
uint8_t data[0];
uint8_t data[];
} __packed;
/**

View file

@ -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)