summaryrefslogtreecommitdiffstats
path: root/drivers/dma/Makefile
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-02 02:52:17 +0100
committerDan Williams <dan.j.williams@intel.com>2010-12-03 10:46:07 +0100
commit51a1efe2e84493439db32c07471e835c752a7923 (patch)
tree7608eba539917e5b666c9f67a63aa82449aeb43e /drivers/dma/Makefile
parentdma: imx-dma: fix imxdma_probe error path (diff)
downloadlinux-51a1efe2e84493439db32c07471e835c752a7923.tar.xz
linux-51a1efe2e84493439db32c07471e835c752a7923.zip
dma: intel_mid_dma: fix double free on mid_setup_dma error path
We should not call kfree(dma) in mid_setup_dma error path because the memory is allocated in intel_mid_dma_probe and will be freed in intel_mid_dma_probe error path if mid_setup_dma return error. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/Makefile')
0 files changed, 0 insertions, 0 deletions