On Mon, Aug 22, 2016 at 09:55:15AM +0200, Reda Sallahi wrote: > struct DdInfo { > unsigned int flags; > int64_t count; > unsigned int conv; > + unsigned status;
For consistency please use "unsigned int" like you used for the flags and conv fields above. > in.buf = g_new(uint8_t, in.bsz); > + if (dd.status & C_STATUS_DEFAULT) { > + gettimeofday(&starttv, NULL); Please use qemu_gettimeofday() for portability.
signature.asc
Description: PGP signature