diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-01-08 19:29:25 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 10:22:19 +0300 |
commit | a55e07c8a5aaf5442d10b0b392ce8ce41a96921d (patch) | |
tree | ac6213a61908009937b282c72d4c70d2d598fc43 /mm/shmem.c | |
parent | bf44a4175e566c72ae2d01929f76a04a9e861e0d (diff) | |
download | linux-a55e07c8a5aaf5442d10b0b392ce8ce41a96921d.tar.xz |
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 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions