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> |
||
|---|---|---|
| .. | ||
| fmap.c | ||
| fmap.h | ||
| kv_pair.c | ||
| kv_pair.h | ||
| valstr.c | ||
| valstr.h | ||