diff options
| author | Mark A. Greer <[email protected]> | 2013-11-12 13:12:27 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2013-12-05 21:28:40 +0800 |
| commit | f13ab86a6123cc85c072253769fcaac72949ae93 (patch) | |
| tree | 3a896286d5dd810755b2534ae40c21566f080a22 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f4875e12f3ddafef844e21321efc7fae03454387 (diff) | |
crypto: omap-sham - Only release DMA channel if successfully requested
In omap_sham_probe() and omap_sham_remove(), 'dd->dma_lch'
is released without checking to see if it was successfully
requested or not. This is a bug and was identified and
reported by Dan Carpenter here:
http://www.spinics.net/lists/devicetree/msg11023.html
Add code to only release 'dd->dma_lch' when its not NULL
(that is, when it was successfully requested).
Reported-by: Dan Carpenter <[email protected]>
CC: Joel Fernandes <[email protected]>
Signed-off-by: Mark A. Greer <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions