Re: [PATCH] dmaengine: ensure dmaengine helpers check valid callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 21, 2018 at 05:56:55PM +0100, Fabrizio Castro wrote:
> From: Vinod Koul <vinod.koul@xxxxxxxxx>
> 
> commit 757d12e5849be549076901b0d33c60d5f360269c upstream.
> 
> 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 <jonathanh@xxxxxxxxxx>
> Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
> [fabrizio: cherry-pick to 4.4]
> Signed-off-by: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx>
> Signed-off-by: Jianming Qiao <jianming.qiao@xxxxxxxxxxxxxx>
> ---
> Hello Greg,
> 
> while backporting commit 757d12e5849be549076901b0d33c60d5f360269c
> to the CIP kernel Ben recommended to send the same patch to you
> for 4.4 stable.
> I hope the format of the commit is the one you expect (reference to
> the upstream commit, version to cherry-pick the patch to, and
> Signed-off-by tags).

Format is fine, but why is this needed in the 4.4.y kernel tree?  What
bug does it solve?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux