summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-05-15 15:05:35 +0300
committerIngo Molnar <mingo@kernel.org>2025-12-14 11:19:40 +0300
commit46f3e7d394b23e93d274590d7bede5d62d80440b (patch)
tree4e09a93883f599d2b75fcb930983e2930ca66d71
parent58dcd82d2e2543e0aba4915613debec3c309849b (diff)
downloadlinux-46f3e7d394b23e93d274590d7bede5d62d80440b.tar.xz
x86/boot/e820: Change struct e820_table::nr_entries type from __u32 to u32
__u32 is for UAPI headers, and this definition is the only place in the kernel-internal E820 code that uses __u32. Change it to u32. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: H . Peter Anvin <hpa@zytor.com> Cc: Andy Shevchenko <andy@kernel.org> Cc: Arnd Bergmann <arnd@kernel.org> Cc: David Woodhouse <dwmw@amazon.co.uk> Cc: Juergen Gross <jgross@suse.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: Paul Menzel <pmenzel@molgen.mpg.de> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://patch.msgid.link/20250515120549.2820541-20-mingo@kernel.org
-rw-r--r--arch/x86/include/asm/e820/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/e820/types.h b/arch/x86/include/asm/e820/types.h
index 80c4a7266629..df12f7ee75d3 100644
--- a/arch/x86/include/asm/e820/types.h
+++ b/arch/x86/include/asm/e820/types.h
@@ -83,7 +83,7 @@ struct e820_entry {
* The whole array of E820 entries:
*/
struct e820_table {
- __u32 nr_entries;
+ u32 nr_entries;
struct e820_entry entries[E820_MAX_ENTRIES];
};