Re: [PATCH 1/5] linux: list: add a function to count list nodes

2024-07-31 Thread Ilias Apalodimas
On Tue, 30 Jul 2024 at 14:11, Sughosh Ganu wrote: > > Add a function to count the nodes of a list. > > Taken from linux 6.11-rc1 tag commit 8400291e289e. > > Signed-off-by: Sughosh Ganu > --- > include/linux/list.h | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git

Re: [PATCH 1/5] linux: list: add a function to count list nodes

2024-07-31 Thread Heinrich Schuchardt
On 7/30/24 13:11, Sughosh Ganu wrote: Add a function to count the nodes of a list. This could function could be used in lot of different code locations: test/boot/expo.c:707 lib/fwu_updates/fwu_mtd.c:64 lib/efi_loader/efi_memory.c:755 lib/efi_loader/efi_boottime.c:2519

Re: [PATCH 1/5] linux: list: add a function to count list nodes

2024-07-30 Thread Simon Glass
On Tue, 30 Jul 2024 at 05:11, Sughosh Ganu wrote: > > Add a function to count the nodes of a list. > > Taken from linux 6.11-rc1 tag commit 8400291e289e. > > Signed-off-by: Sughosh Ganu > --- > include/linux/list.h | 15 +++ > 1 file changed, 15 insertions(+) Reviewed-by: Simon

[PATCH 1/5] linux: list: add a function to count list nodes

2024-07-30 Thread Sughosh Ganu
Add a function to count the nodes of a list. Taken from linux 6.11-rc1 tag commit 8400291e289e. Signed-off-by: Sughosh Ganu --- include/linux/list.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/linux/list.h b/include/linux/list.h index 6910721c00..0f9d939b05