From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben.hutchings@codethink.co.uk (Ben Hutchings) Date: Tue, 10 Apr 2018 18:20:35 +0100 Subject: [cip-dev] [RFC/PATCH] dmaengine: ensure dmaengine helpers check valid callback In-Reply-To: <1520527545-4515-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1520527545-4515-1-git-send-email-fabrizio.castro@bp.renesas.com> Message-ID: <1523380835.2654.192.camel@codethink.co.uk> To: cip-dev@lists.cip-project.org List-Id: cip-dev.lists.cip-project.org On Thu, 2018-03-08 at 16:45 +0000, Fabrizio Castro wrote: > From: Vinod Koul > > dmaengine has various device callbacks and exposes helper > functions to invoke these. These helpers should check if channel, > device and callback is valid or not before invoking them. > > Reported-by: Jon Hunter > Signed-off-by: Vinod Koul > (cherry picked from commit 757d12e5849be549076901b0d33c60d5f360269c) > Signed-off-by: Fabrizio Castro > Signed-off-by: Jianming Qiao > --- > Hello Ben, > > we have stumbled upon a problem, and discovered there was this fix > upstream we would like to backport. > > Do you think this should go through v4.4 LTS first or are you happy > to take it? I can apply it now, but if the bug affects 4.4 LTS or other stable branches without CIP's extra backports then you should also send it to stable at vger.kernel.org. Ben. -- Ben Hutchings Software Developer, Codethink Ltd.