Просмотр исходного кода

util/fifo8: Fix typo in fifo8_push_all() description

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230522153144.30610-2-philmd@linaro.org>
Philippe Mathieu-Daudé 2 лет назад
Родитель
Сommit
c342a5d38c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/qemu/fifo8.h

+ 1 - 1
include/qemu/fifo8.h

@@ -46,7 +46,7 @@ void fifo8_push(Fifo8 *fifo, uint8_t data);
  * fifo8_push_all:
  * fifo8_push_all:
  * @fifo: FIFO to push to
  * @fifo: FIFO to push to
  * @data: data to push
  * @data: data to push
- * @size: number of bytes to push
+ * @num: number of bytes to push
  *
  *
  * Push a byte array to the FIFO. Behaviour is undefined if the FIFO is full.
  * Push a byte array to the FIFO. Behaviour is undefined if the FIFO is full.
  * Clients are responsible for checking the space left in the FIFO using
  * Clients are responsible for checking the space left in the FIFO using