diff options
| author | Jarkko Nikula <[email protected]> | 2016-04-07 16:49:43 +0300 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2016-04-13 21:09:21 +0530 |
| commit | 4c4d7f878589585d32b81aab6ed4a5066fae1091 (patch) | |
| tree | 0c93f39ba5ccaf53243aa2697383b285bf7f33a3 /tools/perf/scripts/python/netdev-times.py | |
| parent | ef859312c3a16b42f398e6dbb14de23bffd5dd41 (diff) | |
dmaengine: core: Revert back to pr_debug in __dma_request_channel()
Commit ef859312c3a1 ("dmaengine: core: Use dev_ functions for debug and
error prints") wasn't quite right in __dma_request_channel() by claiming
that all pr_ prints have valid DMA channel pointer. Obviously it is not
true as __dma_request_channel() is looking for a channel and returns NULL
if it does not find it.
Prevent this potential NULL pointer dereference by reverting back to
pr_debug().
Signed-off-by: Jarkko Nikula <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions