From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 11 Oct 2015 14:15:46 +0200 Subject: [U-Boot] [PATCH v3] nios2: convert dma_alloc_coherent to use memalign In-Reply-To: <5619C00A.6090000@wytron.com.tw> References: <1444013823-11909-1-git-send-email-thomas@wytron.com.tw> <201510102019.40613.marex@denx.de> <5619C00A.6090000@wytron.com.tw> Message-ID: <201510111415.46823.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday, October 11, 2015 at 03:48:58 AM, Thomas Chou wrote: > Hi Marek, Hi, > On 10/11/2015 02:19 AM, Marek Vasut wrote: > > It might be wrong to keep DMA address looks alive but actually dead. > > > > I don't quite understand this sentence, can you please rephrase it ? > > Sorry. I meant the *handle, which is the DMA address, should be > invalidated to NULL when the allocation failed. OK Best regards, Marek Vasut