diff options
| author | Haneen Mohammed <[email protected]> | 2016-02-11 21:34:40 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-11 20:00:30 -0800 |
| commit | 2fbf6d61664ba04d4c7872cbb46720e49264cf3a (patch) | |
| tree | e61fc6db3455e664f2b9480dd3750cb62b3fedc3 /tools/perf/scripts/python | |
| parent | 27f31cf9f7235cb3aa10860bf4fde5df6893bf52 (diff) | |
Staging: vt6655: Add check dma_mapping_error
This patch checks for dma_mapping_error() after using dma_map_single.
If the dma map fails we release skb buff allocated by dev_alloc_skb() to
avoid possible causes of resource leak.
Signed-off-by: Haneen Mohammed <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions