[PATCH] list: use list_count_nodes() to count list entries

Simon Glass sjg at chromium.org
Thu Aug 1 16:42:27 CEST 2024


On Wed, 31 Jul 2024 at 08:55, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> Use the API function list_count_nodes() to count the number of list
> entries.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>
> Note: To be applied on top of efi-2024-10-rc2
>
>  boot/scene.c                  | 8 +-------
>  drivers/mtd/ubi/fastmap.c     | 8 +++-----
>  fs/yaffs2/yaffs_guts.c        | 5 ++---
>  lib/efi_loader/efi_boottime.c | 4 +---
>  lib/fwu_updates/fwu_mtd.c     | 5 +----
>  test/boot/expo.c              | 4 +---
>  6 files changed, 9 insertions(+), 25 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list