From 32085aec84926ba2f5564ee030e9ad40e63eab14 Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Fri, 27 Dec 2024 00:15:18 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85787 Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/lib/ubsan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ubsan.c b/src/lib/ubsan.c index 560493cfc2..456a272b05 100644 --- a/src/lib/ubsan.c +++ b/src/lib/ubsan.c @@ -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"); }