Re: [Qemu-devel] [PATCH v5 2/4] util/fifo8: clear fifo head upon reset

2014-02-04 Thread Peter Crosthwaite
On Fri, Jan 31, 2014 at 8:02 AM, Beniamino Galvani wrote: > To improve the predictability of fifo8_pop_buf(), the fifo head is set > to start of data buffer upon a reset so that the first call to the A nit: "the start of the" > function will be able to retrieve all data in the fifo. > > Signed-

[Qemu-devel] [PATCH v5 2/4] util/fifo8: clear fifo head upon reset

2014-01-30 Thread Beniamino Galvani
To improve the predictability of fifo8_pop_buf(), the fifo head is set to start of data buffer upon a reset so that the first call to the function will be able to retrieve all data in the fifo. Signed-off-by: Beniamino Galvani --- util/fifo8.c |1 + 1 file changed, 1 insertion(+) diff --git