public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
To: Haren Myneni <haren@linux.ibm.com>, linuxppc-dev@lists.ozlabs.org
Cc: maddy@linux.ibm.com, sfr@canb.auug.org.au, tyreld@linux.ibm.com,
	linux-next@vger.kernel.org, hbabu@us.ibm.com
Subject: Re: [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h
Date: Wed, 30 Apr 2025 13:12:57 +0530	[thread overview]
Message-ID: <41c0aee3-e2ab-4b2f-878a-d65220e944ff@linux.ibm.com> (raw)
In-Reply-To: <20250429211419.1081354-1-haren@linux.ibm.com>


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.


  parent reply	other threads:[~2025-04-30  7:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29 21:14 [PATCH] powerpc/pseries: Include linux/types.h in papr-platform-dump.h Haren Myneni
2025-04-29 22:07 ` Stephen Rothwell
2025-05-02  4:17   ` Madhavan Srinivasan
2025-04-30  7:42 ` Venkat Rao Bagalkote [this message]
2025-05-04  3:21 ` Madhavan Srinivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41c0aee3-e2ab-4b2f-878a-d65220e944ff@linux.ibm.com \
    --to=venkat88@linux.ibm.com \
    --cc=haren@linux.ibm.com \
    --cc=hbabu@us.ibm.com \
    --cc=linux-next@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=sfr@canb.auug.org.au \
    --cc=tyreld@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox