linux/drivers/isdn/hardware/mISDN
Phillip Potter 5265db2ccc isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
Modify return type of hfcusb_ph_info to int, so that we can pass error
value up the call stack when allocation of ph_info fails. Also change
three of four call sites to actually account for the memory failure.
The fourth, in ph_state_nt, is infeasible to change as it is in turn
called by ph_state which is used as a function pointer argument to
mISDN_initdchannel, which would necessitate changing its signature
and updating all the places where it is used (too many).

Fixes original flawed commit (38d2265980) from the University of
Minnesota.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210503115736.2104747-48-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 18:32:23 +02:00
..
avmfritz.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hfc_multi_8xx.h treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hfc_multi.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hfc_pci.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
hfcmulti.c mISDN: Use DEFINE_SPINLOCK() for spinlock 2021-03-30 13:34:42 -07:00
hfcpci.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hfcsusb.c isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info 2021-05-13 18:32:23 +02:00
hfcsusb.h isdn: hfcsusb: Spelling and grammar fixes 2019-10-28 13:42:36 -07:00
iohelper.h isdn: remove extra spaces in the header file 2021-03-11 18:23:55 -08:00
ipac.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
isar.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
isdnhdlc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
isdnhdlc.h isdn: deprecate non-mISDN drivers 2019-06-02 17:48:58 -07:00
Kconfig isdn: Fix Kconfig indentation 2019-11-20 12:30:47 -08:00
Makefile isdn: hdlc: move into mISDN 2019-05-31 11:13:10 +02:00
mISDNinfineon.c isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io 2021-05-13 18:32:06 +02:00
mISDNipac.c mISDN: fix crash in fritzpci 2021-03-11 18:23:13 -08:00
mISDNisar.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
netjet.c mISDN: switch from 'pci_' to 'dma_' API 2020-07-20 18:32:14 -07:00
netjet.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
speedfax.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
w6692.c Printk changes for 5.5 2019-11-25 19:40:40 -08:00
w6692.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00