[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOesGMgO6ywqk8XzYMdnBfDmB80bu0uPUL2s5kkux-zi5Sa4cw@mail.gmail.com>
Date: Fri, 28 Jun 2013 09:37:36 -0700
From: Olof Johansson <olof@...om.net>
To: Dan Williams <djbw@...com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Vinod Koul <vinod.koul@...el.com>,
Tomasz Figa <t.figa@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [resend2 PATCH] DMA: remove unused support for MEMSET operations
Bartlomiej,
Did you build test on the platforms you changed? You broke dove_defconfig:
In file included from /home/olof/work/next/include/linux/skbuff.h:31:0,
from /home/olof/work/next/include/linux/if_ether.h:23,
from /home/olof/work/next/include/net/dsa.h:14,
from /home/olof/work/next/arch/arm/plat-orion/common.c:21:
/home/olof/work/next/arch/arm/plat-orion/common.c: In function
'orion_xor1_init':
/home/olof/work/next/arch/arm/plat-orion/common.c:737:14: error:
'DMA_MEMSET' undeclared (first use in this function)
dma_cap_set(DMA_MEMSET, orion_xor1_channels_data[1].cap_mask);
^
/home/olof/work/next/include/linux/dmaengine.h:862:46: note: in
definition of macro 'dma_cap_set'
#define dma_cap_set(tx, mask) __dma_cap_set((tx), &(mask))
^
/home/olof/work/next/arch/arm/plat-orion/common.c:737:14: note: each
undeclared identifier is reported only once for each function it
appears in
dma_cap_set(DMA_MEMSET, orion_xor1_channels_data[1].cap_mask);
^
/home/olof/work/next/include/linux/dmaengine.h:862:46: note: in
definition of macro 'dma_cap_set'
#define dma_cap_set(tx, mask) __dma_cap_set((tx), &(mask))
This would also have been found by a "git grep DMA_MEMSET" across the tree.
Andrew, this is coming really late before the merge window, I think it
makes sense to hold off to 3.12 if it can't be done without trivial
regressions. :(
-Olof
On Thu, Jun 27, 2013 at 1:20 PM, Dan Williams <djbw@...com> wrote:
> On Wed, Jun 26, 2013 at 6:31 AM, Bartlomiej Zolnierkiewicz
> <b.zolnierkie@...sung.com> wrote:
>> There have never been any real users of MEMSET operations
>> since they have been introduced in January 2007 (commit
>> 7405f74badf46b5d023c5d2b670b4471525f6c91 "dmaengine: refactor
>> dmaengine around dma_async_tx_descriptor"). Therefore remove
>> support for them for now, it can be always brought back when
>> needed.
>>
>> Cc: Vinod Koul <vinod.koul@...el.com>
>> Cc: Dan Williams <djbw@...com>
>> Cc: Tomasz Figa <t.figa@...sung.com>
>> Cc: Andrew Morton <akpm@...ux-foundation.org>
>> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
>> ---
>
> I see Andrew has already picked this up.
>
> Acked-by: Dan Williams <djbw@...com>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists