lib: Replace 'unsigned long int' by 'unsigned long'

As suggested by the linter:

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

Link: https://qa.coreboot.org/job/coreboot-untested-files/lastSuccessfulBuild/artifact/lint.txt
Change-Id: I93d951eac69150b6cd73c9e56cb02a73c5118340
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85787
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Ariel Otilibili 2024-12-27 00:15:18 +01:00 committed by Elyes Haouas
commit 32085aec84

View file

@ -43,8 +43,8 @@ static void __noreturn ubsan_abort(const struct ubsan_source_location *location,
if (!location || !location->filename)
location = &unknown_location;
printk(BIOS_ERR, "%s %s:%lu:%lu\n", violation, location->filename,
(unsigned long int)location->line,
(unsigned long int)location->column);
(unsigned long)location->line,
(unsigned long)location->column);
die("ubsan: unrecoverable error.\n");
}