aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2019-07-29 02:08:49 +0000
committerVinod Koul <[email protected]>2019-08-08 13:33:49 +0000
commit39c71a5b8212f4b502d9a630c6706ac723abd422 (patch)
tree71765e0155a40a28aa6966208560a7743bbbf06a /tools/perf/scripts/python/net_dropmonitor.py
parentdmaengine: tegra210-adma: Fix unused function warnings (diff)
downloadkernel-39c71a5b8212f4b502d9a630c6706ac723abd422.tar.gz
kernel-39c71a5b8212f4b502d9a630c6706ac723abd422.zip
dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
In stm32_mdma_irq_handler(), chan is checked on line 1368. When chan is NULL, it is still used on line 1369: dev_err(chan2dev(chan), "MDMA channel not initialized\n"); Thus, a possible null-pointer dereference may occur. To fix this bug, "dev_dbg(mdma2dev(dmadev), ...)" is used instead. Signed-off-by: Jia-Ju Bai <[email protected]> Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions