diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-01-08 17:29:25 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 08:22:19 +0100 |
commit | a55e07c8a5aaf5442d10b0b392ce8ce41a96921d (patch) | |
tree | ac6213a61908009937b282c72d4c70d2d598fc43 /drivers/dma/edma.c | |
parent | dmaengine: shdmac: extend PM methods (diff) | |
download | linux-a55e07c8a5aaf5442d10b0b392ce8ce41a96921d.tar.xz linux-a55e07c8a5aaf5442d10b0b392ce8ce41a96921d.zip |
dmaengine: rcar-dmac: Fix uninitialized variable usage
The desc variable is used uninitialized in the rcar_dmac_desc_get() and
rcar_dmac_xfer_chunk_get() functions if descriptors need to be
allocated. Fix it.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/edma.c')
0 files changed, 0 insertions, 0 deletions