We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c805fb + 56d8623 commit 0460cebCopy full SHA for 0460ceb
drivers/hid/intel-ish-hid/ishtp/hbm.h
@@ -82,7 +82,7 @@ struct ishtp_msg_hdr {
82
83
struct ishtp_bus_message {
84
uint8_t hbm_cmd;
85
- uint8_t data[0];
+ uint8_t data[];
86
} __packed;
87
88
/**
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
@@ -214,7 +214,7 @@ struct ishtp_device {
214
const struct ishtp_hw_ops *ops;
215
size_t mtu;
216
uint32_t ishtp_msg_hdr;
217
- char hw[0] __aligned(sizeof(void *));
+ char hw[] __aligned(sizeof(void *));
218
};
219
220
static inline unsigned long ishtp_secs_to_jiffies(unsigned long sec)
0 commit comments