Re: [PATCH 6/9] fifo8: honour do_pop argument in fifo8_peekpop_buf()

2024-08-30 Thread Octavian Purdila
On Wed, Aug 28, 2024 at 5:23 AM Mark Cave-Ayland wrote: > > Pass the do_pop value from fifo8_peekpop_buf() to fifo8_peekpop_bufptr() to > allow peeks to the FIFO buffer, including adjusting the skip parameter to > handle the case where the internal FIFO buffer wraps around. > > Signed-off-by: Mark

Re: [PATCH 6/9] fifo8: honour do_pop argument in fifo8_peekpop_buf()

2024-08-29 Thread Alistair Francis
On Wed, Aug 28, 2024 at 10:25 PM Mark Cave-Ayland wrote: > > Pass the do_pop value from fifo8_peekpop_buf() to fifo8_peekpop_bufptr() to > allow peeks to the FIFO buffer, including adjusting the skip parameter to > handle the case where the internal FIFO buffer wraps around. > > Signed-off-by: Mar

[PATCH 6/9] fifo8: honour do_pop argument in fifo8_peekpop_buf()

2024-08-28 Thread Mark Cave-Ayland
Pass the do_pop value from fifo8_peekpop_buf() to fifo8_peekpop_bufptr() to allow peeks to the FIFO buffer, including adjusting the skip parameter to handle the case where the internal FIFO buffer wraps around. Signed-off-by: Mark Cave-Ayland --- util/fifo8.c | 4 ++-- 1 file changed, 2 insertio