summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2014-01-25 22:47:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-08 00:24:31 +0100
commitd913c7439add288b50752186b306634df2ae21e7 (patch)
tree12d8572d310a8618f0333190a3fc8fb3f1a13ba8 /Documentation
parentDocumentation:Update Documentation/zh_CN/arm64/memory.txt (diff)
downloadlinux-d913c7439add288b50752186b306634df2ae21e7.tar.xz
linux-d913c7439add288b50752186b306634df2ae21e7.zip
misc: genwqe: Fix potential memory leak when pinning memory
Fix a memory leak in the genwqe_pin_mem() error path as called by ioctl GENWQE_PIN_MEM. In case there is an error encountered when mapping memory, the already allocated dma_mapping struct needs to be freed correctly. Detected by Coverity: CID 1162606. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions