[PATCH 1/2] linux/list.h: Add list_is_first()

Romain Gantois romain.gantois at bootlin.com
Thu Jul 2 09:47:53 CEST 2026


Hello Simon,

On Thursday, 25 June 2026 18:25:44 CEST Simon Glass wrote:
> On 2026-06-25T09:05:24, Romain Gantois <romain.gantois at bootlin.com> wrote:
> > linux/list.h: Add list_is_first()
> > 
> > Include the list_is_first() kernel function, which will be used by the
> > Renesas USBF driver.
> > 
> > Signed-off-by: Romain Gantois <romain.gantois at bootlin.com>
> > Reviewed-by: Herve Codina <herve.codina at bootlin.com>
> > 
> > include/linux/list.h | 10 ++++++++++
> > 
> >  1 file changed, 10 insertions(+)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> (I don't suppose Linux has any tests for lists that we could copy?)

I don't think so, at least I didn't find any.

Thanks,

-- 
Romain Gantois, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260702/a5c43a29/attachment.sig>


More information about the U-Boot mailing list