diff options
author | Dave Jiang <dave.jiang@intel.com> | 2020-01-31 20:58:39 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-03 07:17:54 +0300 |
commit | 5429b51f606cb82f315f68678b959112766f235e (patch) | |
tree | 064b55c8456e36717648ed47e61c50863f78fa0e /scripts/gdb/linux/utils.py | |
parent | a9113a90f5f0ff476a4ac2bf15861fa4358a3643 (diff) | |
download | linux-5429b51f606cb82f315f68678b959112766f235e.tar.xz |
dmaengine: fix null ptr check for __dma_async_device_channel_register()
Add check to pointer after assignment before accessing members.
Fixes: d2fb0a043838: ("dmaengine: break out channel registration")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158049351973.45445.3291586905226032744.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions