From: Kunihiko Hayashi Date: Wed, 4 Mar 2026 07:51:00 +0000 (+0900) Subject: image-fit: Fix mismatched parameter type in comment X-Git-Tag: v2026.04-rc5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeca6ed86ff65cb8213d0d960a0733c7d8ddde5d;p=thirdparty%2Fu-boot.git image-fit: Fix mismatched parameter type in comment The functions use 'ulong', however, the comments said 'uint32_t'. Update the comments to match the prototype. Signed-off-by: Kunihiko Hayashi Reviewed-by: Quentin Schulz --- diff --git a/boot/image-fit.c b/boot/image-fit.c index e7c7212195f..067ad236081 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -881,7 +881,7 @@ static int fit_image_get_address(const void *fit, int noffset, char *name, * fit_image_get_load() - get load addr property for given component image node * @fit: pointer to the FIT format image header * @noffset: component image node offset - * @load: pointer to the uint32_t, will hold load address + * @load: pointer to the ulong, will hold load address * * fit_image_get_load() finds load address property in a given component * image node. If the property is found, its value is returned to the caller. @@ -899,7 +899,7 @@ int fit_image_get_load(const void *fit, int noffset, ulong *load) * fit_image_get_entry() - get entry point address property * @fit: pointer to the FIT format image header * @noffset: component image node offset - * @entry: pointer to the uint32_t, will hold entry point address + * @entry: pointer to the ulong, will hold entry point address * * This gets the entry point address property for a given component image * node.