* [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
@ 2025-04-29 21:14 Haren Myneni
2025-04-30 7:42 ` Venkat Rao Bagalkote
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Haren Myneni @ 2025-04-29 21:14 UTC (permalink / raw)
To: linuxppc-dev; +Cc: maddy, sfr, tyreld, linux-next, hbabu, haren
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>
---
arch/powerpc/include/uapi/asm/papr-platform-dump.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/uapi/asm/papr-platform-dump.h b/arch/powerpc/include/uapi/asm/papr-platform-dump.h
index a1d89c290dab..8a1c060e89a9 100644
--- a/arch/powerpc/include/uapi/asm/papr-platform-dump.h
+++ b/arch/powerpc/include/uapi/asm/papr-platform-dump.h
@@ -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>
--
2.43.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
2025-04-29 21:14 [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h Haren Myneni
@ 2025-04-30 7:42 ` Venkat Rao Bagalkote
[not found] ` <20250430080709.01e21091@canb.auug.org.au>
2025-05-04 3:21 ` Madhavan Srinivasan
2 siblings, 0 replies; 4+ messages in thread
From: Venkat Rao Bagalkote @ 2025-04-30 7:42 UTC (permalink / raw)
To: Haren Myneni, linuxppc-dev; +Cc: maddy, sfr, tyreld, linux-next, hbabu
On 30/04/25 2:44 am, Haren Myneni wrote:
> 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>
> ---
> arch/powerpc/include/uapi/asm/papr-platform-dump.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/include/uapi/asm/papr-platform-dump.h b/arch/powerpc/include/uapi/asm/papr-platform-dump.h
> index a1d89c290dab..8a1c060e89a9 100644
> --- a/arch/powerpc/include/uapi/asm/papr-platform-dump.h
> +++ b/arch/powerpc/include/uapi/asm/papr-platform-dump.h
> @@ -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>
>
Tested this patch by applying on top of 6.15.0-rc4-next-20250429 and it
fixes the reported warning. Hence,
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Before Patch:
make -j 17 -s && make modules_install && make install
usr/include/asm/papr-platform-dump.h:12: found __[us]{8,16,32,64} type
without #include <linux/types.h>
SYMLINK /lib/modules/6.15.0-rc4-next-20250429-auto/build
INSTALL /lib/modules/6.15.0-rc4-next-20250429-auto/modules.order
After Patch:
make -j 17 -s && make modules_install && make install
SYMLINK
/lib/modules/6.15.0-rc4-next-20250429-auto-00001-g5f4677f96288/build
INSTALL
/lib/modules/6.15.0-rc4-next-20250429-auto-00001-g5f4677f96288/modules.order
INSTALL
/lib/modules/6.15.0-rc4-next-20250429-auto-00001-g5f4677f96288/modules.builti
Regards,
Venkat.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
[not found] ` <20250430080709.01e21091@canb.auug.org.au>
@ 2025-05-02 4:17 ` Madhavan Srinivasan
0 siblings, 0 replies; 4+ messages in thread
From: Madhavan Srinivasan @ 2025-05-02 4:17 UTC (permalink / raw)
To: Stephen Rothwell, Haren Myneni; +Cc: linuxppc-dev, tyreld, linux-next, hbabu
On 4/30/25 3:37 AM, Stephen Rothwell wrote:
> Hi Haren,
>
> Thanks for this. I have a small nitpick below.
>
> On Tue, 29 Apr 2025 14:14:18 -0700 Haren Myneni <haren@linux.ibm.com> wrote:
>>
>> 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>
>
For now, when pulling this in , i will fix it,
but in future kindly have all tags together at
the end as suggested.
Maddy
> Please keep all the commit message tags together at the end of the
> commit message.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
2025-04-29 21:14 [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h Haren Myneni
2025-04-30 7:42 ` Venkat Rao Bagalkote
[not found] ` <20250430080709.01e21091@canb.auug.org.au>
@ 2025-05-04 3:21 ` Madhavan Srinivasan
2 siblings, 0 replies; 4+ messages in thread
From: Madhavan Srinivasan @ 2025-05-04 3:21 UTC (permalink / raw)
To: linuxppc-dev, Haren Myneni; +Cc: sfr, tyreld, linux-next, hbabu
On Tue, 29 Apr 2025 14:14:18 -0700, Haren Myneni wrote:
> 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/
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
https://git.kernel.org/powerpc/c/925e8620db51ca6bd5c87256dc71c38770b8f6e1
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-04 3:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 21:14 [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h Haren Myneni
2025-04-30 7:42 ` Venkat Rao Bagalkote
[not found] ` <20250430080709.01e21091@canb.auug.org.au>
2025-05-02 4:17 ` Madhavan Srinivasan
2025-05-04 3:21 ` Madhavan Srinivasan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).