Signed-off-by: Jens Axboe <axboe@kernel.dk>
*/
uint16_t cmd_crc16; /* cmd checksum */
uint16_t pdu_crc16; /* payload checksum */
- uint8_t payload[0]; /* payload */
+ uint8_t payload[]; /* payload */
};
struct fio_net_int_cmd {
struct cmd_single_line_pdu {
uint16_t len;
- uint8_t text[0];
+ uint8_t text[];
};
struct cmd_line_pdu {
uint16_t lines;
- struct cmd_single_line_pdu options[0];
+ struct cmd_single_line_pdu options[];
};
struct cmd_start_pdu {
* Network 'copy' of run_str[]
*/
uint32_t nr_threads;
- uint8_t run_str[0];
+ uint8_t run_str[];
};
extern void show_thread_status(struct thread_stat *ts, struct group_run_stats *rs);