Re: [PATCH 2/9] fifo8: introduce head variable for fifo8_peekpop_bufptr()

2024-08-30 Thread Octavian Purdila
On Wed, Aug 28, 2024 at 5:23 AM Mark Cave-Ayland wrote: > > Rather than operate on fifo->head directly, introduce a new head variable > which is > set to the value of fifo->head and use it instead. This is to allow future > adjustment of the head position within the internal FIFO buffer. > > Sign

Re: [PATCH 2/9] fifo8: introduce head variable for fifo8_peekpop_bufptr()

2024-08-29 Thread Alistair Francis
On Wed, Aug 28, 2024 at 10:25 PM Mark Cave-Ayland wrote: > > Rather than operate on fifo->head directly, introduce a new head variable > which is > set to the value of fifo->head and use it instead. This is to allow future > adjustment of the head position within the internal FIFO buffer. > > Sig

[PATCH 2/9] fifo8: introduce head variable for fifo8_peekpop_bufptr()

2024-08-28 Thread Mark Cave-Ayland
Rather than operate on fifo->head directly, introduce a new head variable which is set to the value of fifo->head and use it instead. This is to allow future adjustment of the head position within the internal FIFO buffer. Signed-off-by: Mark Cave-Ayland --- util/fifo8.c | 7 --- 1 file cha