Re: [PATCH] mtd_dataflash use command allocated on stack

David Woodhouse
2008-04-22T20:20:38Z

On Fri, 2008-04-04 at 09:02 +0400, Vitja Makarov wrote:
> Hi!
>
>
> Currently mtd_dataflash driver has command in their private structure.
> That is only 4 bytes, sometimes actually 8 is needed.
> Also it could be accessed twice before lock is taken.
>
> This patch moves command to stack.

Is that allowed? The SPI code might DMA from it, surely?

--
dwmw2