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:
parent
f4d3474441
commit
32085aec84
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue