Skip to content

Commit

Permalink
Merge branch 'for-5.7/ish' into for-linus
Browse files Browse the repository at this point in the history
- C99 code purification in intel-ish-hid from Gustavo A. R. Silva
  • Loading branch information
Jiri Kosina committed Apr 1, 2020
2 parents 4c805fb + 56d8623 commit 0460ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/hid/intel-ish-hid/ishtp/hbm.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct ishtp_msg_hdr {

struct ishtp_bus_message {
uint8_t hbm_cmd;
uint8_t data[0];
uint8_t data[];
} __packed;

/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0460ceb

Please sign in to comment.