diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-12 23:18:34 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-12 23:20:42 +0100 |
commit | 6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5 (patch) | |
tree | 65d5a2abb226808f9135dda8f9affb6ae8aa4e01 /drivers/dma/ioatdma_registers.h | |
parent | dmaengine: fix dependency chaining (diff) | |
download | linux-6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5.tar.xz linux-6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5.zip |
fsldma: use a valid 'device' for dma_pool_create
The dmaengine sysfs implementation was fixed to support proper
lifetime rules which means that the current:
new_fsl_chan->dev = &new_fsl_chan->common.dev->device;
...retrieves a NULL pointer because new_fsl_chan->common.dev has not
been allocated at this point. So, set new_fsl_chan->dev to a valid
device.
Cc: Li Yang <leoli@freescale.com>
Cc: Zhang Wei <zw@zh-kernel.org>
Reported-by: Ira Snyder <iws@ovro.caltech.edu>
Tested-by: Ira Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioatdma_registers.h')
0 files changed, 0 insertions, 0 deletions