]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/dmaengine.h
dmaengine: ensure dmaengine helpers check valid callback
authorVinod Koul <vinod.koul@intel.com>
Tue, 12 Apr 2016 15:37:06 +0000 (21:07 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Apr 2016 15:37:06 +0000 (21:07 +0530)
commit757d12e5849be549076901b0d33c60d5f360269c
tree92c871d411934a42608b0e59f5900212c8b2ec07
parentb2d8984f3e7c84303e4d1cbd40d9e8cefd3c9737
dmaengine: ensure dmaengine helpers check valid callback

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@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/dmaengine.h