Skip to content

Commit 46f3e7d

Browse files
committed
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
1 parent 58dcd82 commit 46f3e7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/include/asm/e820/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct e820_entry {
8383
* The whole array of E820 entries:
8484
*/
8585
struct e820_table {
86-
__u32 nr_entries;
86+
u32 nr_entries;
8787
struct e820_entry entries[E820_MAX_ENTRIES];
8888
};
8989

0 commit comments

Comments
 (0)