Skip to content

Commit 06c45f2

Browse files
author
Mamatha Inamdar
committed
powerpc/pseries: Define __u{8,32} types in papr_hvpipe_hdr struct
JIRA: https://issues.redhat.com/browse/RHEL-101959 commit ef10405 Author: Haren Myneni <haren@linux.ibm.com> Date: Mon Sep 22 02:11:08 2025 -0700 powerpc/pseries: Define __u{8,32} types in papr_hvpipe_hdr struct Fix the the following build errors with CONFIG_UAPI_HEADER_TEST: ./usr/include/asm/papr-hvpipe.h:16:9: error: unknown type name 'u8' 16 | u8 version; ./usr/include/asm/papr-hvpipe.h:17:9: error: unknown type name 'u8' 17 | u8 reserved[3]; ./usr/include/asm/papr-hvpipe.h:18:9: error: unknown type name 'u32' 18 | u32 flags; ./usr/include/asm/papr-hvpipe.h:19:9: error: unknown type name 'u8' 19 | u8 reserved2[40]; Fixes: 043439a ("powerpc/pseries: Define papr-hvpipe ioctl") Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Haren Myneni <haren@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250922091108.1483970-1-haren@linux.ibm.com Signed-off-by: Mamatha Inamdar <minamdar@redhat.com>
1 parent 96093a9 commit 06c45f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/powerpc/include/uapi/asm/papr-hvpipe.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
* closed or the buffer has the payload.
1414
*/
1515
struct papr_hvpipe_hdr {
16-
u8 version;
17-
u8 reserved[3];
18-
u32 flags;
19-
u8 reserved2[40];
16+
__u8 version;
17+
__u8 reserved[3];
18+
__u32 flags;
19+
__u8 reserved2[40];
2020
};
2121

2222
/*

0 commit comments

Comments
 (0)