From 2fe5d3e5a5982169aeac86188949a301ab9ed0aa Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 6 Feb 2023 14:50:43 +0100 Subject: [PATCH] arch/x86/include/cpu: retype device field in cpu_device_id Use a more specific type in preparation for using bit masks on this field in the next patch. Since uint32_t is a typedef of unsigned int, this won't change behavior. Signed-off-by: Felix Held Change-Id: Ic54f73dcd3496a5ad85291b9b9586bc740b734d5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72846 Reviewed-by: Fred Reitberger Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/arch/x86/include/arch/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 18bc961828..26315eba3e 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -113,7 +113,7 @@ struct device; struct cpu_device_id { unsigned int vendor; - unsigned int device; + uint32_t device; }; struct cpu_driver {