powerpc/pseries: Include linux/types.h in papr-platform-dump.h
authorHaren Myneni <haren@linux.ibm.com>
Tue, 29 Apr 2025 21:14:18 +0000 (14:14 -0700)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Fri, 2 May 2025 04:24:47 +0000 (09:54 +0530)
Fix the following build warning:
usr/include/asm/papr-platform-dump.h:12: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fixes: 8aa9efc0be66 ("powerpc/pseries: Add papr-platform-dump character driver for dump retrieval")
Closes: https://lore.kernel.org/linux-next/20250429185735.034ba678@canb.auug.org.au/
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
[Maddy: fixed the commit to combine tags together]
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250429211419.1081354-1-haren@linux.ibm.com
arch/powerpc/include/uapi/asm/papr-platform-dump.h

index a1d89c290dab5c566a358d301b0da7027e74fe0a..8a1c060e89a98cfb0d093a37cb46f02a4085d9cf 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef _UAPI_PAPR_PLATFORM_DUMP_H_
 #define _UAPI_PAPR_PLATFORM_DUMP_H_
 
+#include <linux/types.h>
 #include <asm/ioctl.h>
 #include <asm/papr-miscdev.h>