linux-stable/drivers/isdn
Jia-Ju Bai 92d97017c6 isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
[ Upstream commit d0aeb0d4a3 ]

The function dma_set_mask() in setup_hw() can fail, so its return value
should be checked.

Fixes: 1700fe1a10 ("Add mISDN HFC PCI driver")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-16 14:23:36 +01:00
..
capi isdn: cpai: check ctr->cnr to avoid array index out of bound 2021-10-08 16:52:58 -07:00
hardware isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() 2022-03-16 14:23:36 +01:00
mISDN mISDN: Fix memory leak in dsp_pipeline_build() 2022-03-16 14:23:36 +01:00
Kconfig
Makefile