[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y0/8L/13dozOA+WG@matsya>
Date: Wed, 19 Oct 2022 19:01:27 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Amelie Delaunay <amelie.delaunay@...s.st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
dmaengine@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: stm32-mdma: memset stm32_mdma_chan_config
struct before using it
On 17-10-22, 15:14, Amelie Delaunay wrote:
> New bool m2m_hw has been added at the end of stm32_mdma_chan_config struct
> to support the STM32 DMA MDMA chaining.
>
> m2m_hw is set true in stm32_mdma_slave_config() if peripheral_size is set,
> but m2m_hw is never initialized false.
>
> To ensure this case, and any further new update of the structure, memset it
> to 0 before using it.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists