[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YzXLNwf2hV1FN4NJ@matsya>
Date: Thu, 29 Sep 2022 22:13:35 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Mark Brown <broonie@...nel.org>, Arnd Bergmann <arnd@...db.de>,
linux-arm-msm@...r.kernel.org, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] dmaengine: qcom-adm: fix wrong sizeof config in
slave_config
On 15-09-22, 22:48, Christian Marangi wrote:
> Fix broken slave_config function that uncorrectly compare the
> peripheral_size with the size of the config pointer instead of the size
> of the config struct. This cause the crci value to be ignored and cause
> a kernel panic on any slave that use adm driver.
>
> To fix this, compare to the size of the struct and NOT the size of the
> pointer.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists