coreboot/util/cbfstool/flashmap
Ariel Otilibili 29759ee6b9 util/cbfstool: Refine type and signatures
As suggested by the linter:

> Prefer 'unsigned long' over 'unsigned long int' as the int is
> unnecessary

In fmap_bsearch(), removed needless assignment of offset; it is already
set to 0 in the search loop.

fmap_find() uses the return value of fmap_bsearch(); and is declared as
'long int'. Per the linter warnings, replaced 'long int' by 'long'.

> Prefer 'long' over 'long int' as the int is unnecessary

Link: https://qa.coreboot.org/job/coreboot-untested-files/lastSuccessfulBuild/artifact/lint.txt
Change-Id: If94e70778d0302552f151c31d3073524162faf9e
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85786
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2025-01-12 07:54:27 +00:00
..
fmap.c util/cbfstool: Refine type and signatures 2025-01-12 07:54:27 +00:00
fmap.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
kv_pair.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
kv_pair.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
valstr.c treewide: Replace BSD-3-Clause and ISC headers with SPDX headers 2020-05-11 17:12:16 +00:00
valstr.h treewide: Replace BSD-3-Clause and ISC headers with SPDX headers 2020-05-11 17:12:16 +00:00