summaryrefslogtreecommitdiff
path: root/drivers/pnp/Makefile
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2019-07-29 05:08:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-06 11:21:56 +0300
commit71d24f45f905a7ab481ed9c62ffc400b7961221d (patch)
treee151845ae6f238c8581ad2835dded9b7b39d8b67 /drivers/pnp/Makefile
parent377ebe613ed8fa55b19e6cc72d289f261e10a28d (diff)
downloadlinux-71d24f45f905a7ab481ed9c62ffc400b7961221d.tar.xz
dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
[ Upstream commit 39c71a5b8212f4b502d9a630c6706ac723abd422 ] 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 <baijiaju1990@gmail.com> Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Link: https://lore.kernel.org/r/20190729020849.17971-1-baijiaju1990@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pnp/Makefile')
0 files changed, 0 insertions, 0 deletions