Re: [PATCH 1/1] usb: gadget: u_serial: Use kfifo instead of homemade circular buffer

From: Felipe Balbi
Date: Tue Nov 28 2017 - 03:05:44 EST



Hi,

Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> writes:
> The kernel FIFO implementation, kfifo, provides interfaces to manipulate
> a first-in-first-out circular buffer. Use kfifo instead of the homemade
> one to make the code more concise and readable.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Thanks :-) Can you give a little description of how you tested this?

--
balbi

Attachment: signature.asc
Description: PGP signature