From 27c771978871ddb71b70c165e2a8fb10de85c07a Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Fri, 27 Dec 2024 00:15:18 +0100 Subject: [PATCH] arch/x86: Replace 'unsigned long int' by 'unsigned long' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: "Jérémy Compostella" Change-Id: Ida1de23830b0b67ab7fac635b02a4e99c65746f8 Signed-off-by: Ariel Otilibili Reviewed-on: https://review.coreboot.org/c/coreboot/+/85782 Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Elyes Haouas --- src/arch/x86/memset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/memset.c b/src/arch/x86/memset.c index 142dda33d8..4ab07ed9f2 100644 --- a/src/arch/x86/memset.c +++ b/src/arch/x86/memset.c @@ -12,7 +12,7 @@ typedef uint32_t op_t; void *memset(void *dstpp, int c, size_t len) { int d0; - unsigned long int dstp = (unsigned long int)dstpp; + unsigned long dstp = (unsigned long)dstpp; #if (ENV_SEPARATE_ROMSTAGE && CONFIG(ASAN_IN_ROMSTAGE)) || \ (ENV_RAMSTAGE && CONFIG(ASAN_IN_RAMSTAGE))