OrangePi_CM5/drivers/isdn/hardware/mISDN
Jia-Ju Bai 33c74f8085 isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
[ Upstream commit d0aeb0d4a3f7d2a0df7e9545892bbeede8f2ac7e ]

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:15:57 +01:00
..
Kconfig isdn: Fix Kconfig indentation 2019-11-20 12:30:47 -08:00
Makefile
…
avmfritz.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hfc_multi.h
…
hfc_multi_8xx.h treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hfc_pci.h
…
hfcmulti.c idsn: Use pr_warn instead of pr_warning 2019-10-18 15:00:21 +02:00
hfcpci.c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() 2022-03-16 14:15:57 +01:00
hfcsusb.c isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info 2021-06-03 09:00:42 +02:00
hfcsusb.h isdn: hfcsusb: Spelling and grammar fixes 2019-10-28 13:42:36 -07:00
iohelper.h
…
ipac.h
…
isar.h
…
isdnhdlc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
isdnhdlc.h
…
mISDNinfineon.c isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io 2021-06-03 09:00:41 +02:00
mISDNipac.c mISDN: fix crash in fritzpci 2021-04-10 13:36:08 +02:00
mISDNisar.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
netjet.c isdn: mISDN: Fix sleeping function called from invalid context 2021-10-27 09:56:55 +02:00
netjet.h
…
speedfax.c
…
w6692.c Printk changes for 5.5 2019-11-25 19:40:40 -08:00
w6692.h
…