From: Vinod Koul <vkoul@kernel.org>
To: Sanjay R Mehta <Sanju.Mehta@amd.com>
Cc: kbuild-all@lists.01.org, linux-mm@kvack.org
Subject: Re: [PATCH] dmaengine: ptdma: remove PT_OFFSET to avoid redefnition
Date: Sun, 29 Aug 2021 19:12:50 +0530 [thread overview]
Message-ID: <YSuO2rk8yP+qkLFH@matsya> (raw)
In-Reply-To: <1630178908-54973-1-git-send-email-Sanju.Mehta@amd.com>
On 28-08-21, 14:28, Sanjay R Mehta wrote:
> From: Sanjay R Mehta <sanju.mehta@amd.com>
>
> Building on ARCH=um causes a "redefined" warning, so remove this
> PT_OFFSET macro to avoid the warning.
>
> drivers/dma/ptdma/ptdma.h:34: warning: "PT_OFFSET" redefined
> 34 | #define PT_OFFSET 0x0
> |
> In file included from ./arch/um/include/asm/thread_info.h:17,
> from ./include/linux/thread_info.h:60,
> from ./include/asm-generic/preempt.h:5,
> from ./arch/um/include/generated/asm/preempt.h:1,
> from ./include/linux/preempt.h:78,
> from ./include/linux/spinlock.h:55,
> from ./include/linux/wait.h:9,
> from ./include/linux/wait_bit.h:8,
> from ./include/linux/fs.h:6,
> from ./include/linux/debugfs.h:15,
> from drivers/dma/ptdma/ptdma-debugfs.c:12:
> ./arch/x86/um/shared/sysdep/ptrace_user.h:4: note: this is the location of the previous definition
> 4 | #define PT_OFFSET(r) ((r) * sizeof(long))
Applied, thanks
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vkoul@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] dmaengine: ptdma: remove PT_OFFSET to avoid redefnition
Date: Sun, 29 Aug 2021 19:12:50 +0530 [thread overview]
Message-ID: <YSuO2rk8yP+qkLFH@matsya> (raw)
In-Reply-To: <1630178908-54973-1-git-send-email-Sanju.Mehta@amd.com>
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
On 28-08-21, 14:28, Sanjay R Mehta wrote:
> From: Sanjay R Mehta <sanju.mehta@amd.com>
>
> Building on ARCH=um causes a "redefined" warning, so remove this
> PT_OFFSET macro to avoid the warning.
>
> drivers/dma/ptdma/ptdma.h:34: warning: "PT_OFFSET" redefined
> 34 | #define PT_OFFSET 0x0
> |
> In file included from ./arch/um/include/asm/thread_info.h:17,
> from ./include/linux/thread_info.h:60,
> from ./include/asm-generic/preempt.h:5,
> from ./arch/um/include/generated/asm/preempt.h:1,
> from ./include/linux/preempt.h:78,
> from ./include/linux/spinlock.h:55,
> from ./include/linux/wait.h:9,
> from ./include/linux/wait_bit.h:8,
> from ./include/linux/fs.h:6,
> from ./include/linux/debugfs.h:15,
> from drivers/dma/ptdma/ptdma-debugfs.c:12:
> ./arch/x86/um/shared/sysdep/ptrace_user.h:4: note: this is the location of the previous definition
> 4 | #define PT_OFFSET(r) ((r) * sizeof(long))
Applied, thanks
--
~Vinod
next prev parent reply other threads:[~2021-08-29 13:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-28 19:28 [PATCH] dmaengine: ptdma: remove PT_OFFSET to avoid redefnition Sanjay R Mehta
2021-08-28 19:28 ` Sanjay R Mehta
2021-08-29 13:42 ` Vinod Koul [this message]
2021-08-29 13:42 ` Vinod Koul
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=YSuO2rk8yP+qkLFH@matsya \
--to=vkoul@kernel.org \
--cc=Sanju.Mehta@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.