linux/drivers/isdn/hisax
Pan Bian 9a53682b34 isdn: hisax: set error code on failure
In function hfc4s8s_probe(), the value of return variable err should be
negative on failures. However, when the call to request_region() returns
NULL, the value of err is 0. This patch fixes the bug, assigning
"-EBUSY" to err on the path that request_region() fails.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188931

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-05 15:03:42 -05:00
..
amd7930_fn.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
amd7930_fn.h
arcofi.c
arcofi.h
asuscom.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
avm_a1.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
avm_a1p.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
avm_pci.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
avma1_cs.c drivers/isdn: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:04 -07:00
bkm_a4t.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
bkm_a8.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
bkm_ax.h
callc.c isdn: Fix typo in drivers/isdn 2012-11-09 17:10:16 -05:00
config.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
diva.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
elsa_cs.c drivers/isdn: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:04 -07:00
elsa_ser.c isdn: hisax/elsa: fix sleep_on race in elsa FSM 2014-02-26 16:06:13 -05:00
elsa.c isdn: hisax/elsa: fix sleep_on race in elsa FSM 2014-02-26 16:06:13 -05:00
enternow_pci.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
fsm.c driver: isdn: hisax: remove cast for kmalloc/kzalloc return value 2013-03-12 11:40:54 -04:00
fsm.h
gazel.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hfc4s8s_l1.c isdn: hisax: set error code on failure 2016-12-05 15:03:42 -05:00
hfc4s8s_l1.h
hfc_2bds0.c
hfc_2bds0.h
hfc_2bs0.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
hfc_2bs0.h
hfc_pci.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
hfc_pci.h
hfc_sx.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
hfc_sx.h
hfc_usb.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
hfc_usb.h
hfcscard.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hisax_cfg.h
hisax_debug.h
hisax_fcpcipnp.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c
hisax_isac.h
hisax.h
hscx_irq.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
hscx.c
hscx.h
icc.c hisax/icc: add missing semicolon after label 2014-04-22 21:22:47 -04:00
icc.h
ipac.h
ipacx.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
ipacx.h
isac.c Drivers: isdn: hisax: isac.c: Fix assignment and check into one expression. 2016-03-27 22:38:12 -04:00
isac.h
isar.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
isar.h
isdnl1.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
isdnl1.h
isdnl2.c ISDN: fix OOM condition for sending queued I-Frames 2015-10-22 07:23:19 -07:00
isdnl2.h
isdnl3.c isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
isdnl3.h
isurf.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
ix1_micro.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
jade_irq.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
jade.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
jade.h
Kconfig isdn: disable HiSax NetJet driver on microblaze arch 2015-06-21 09:53:01 -07:00
l3_1tr6.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
l3_1tr6.h
l3dss1.c
l3dss1.h
l3ni1.c isdn: hisax: l3ni1.c: Fix for possible null pointer dereference 2014-07-08 16:06:21 -07:00
l3ni1.h
lmgr.c
Makefile
mic.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
netjet.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
netjet.h
niccy.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
nj_s.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
nj_u.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
q931.c isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
s0box.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
saphir.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sedlbauer_cs.c drivers/isdn: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:04 -07:00
sedlbauer.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sportster.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
st5481_b.c
st5481_d.c
st5481_init.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
st5481_usb.c isdn/hisax: Convert use of __constant_cpu_to_le16 to cpu_to_le16 2015-06-07 19:42:03 -07:00
st5481.h
tei.c
teleint.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
teles0.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
teles3.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
teles_cs.c drivers/isdn: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:04 -07:00
telespci.c isdn: Drop big endian cpp checks from telespci and hfc_pci drivers 2014-01-06 15:50:51 -05:00
w6692.c isdn: clean up debug format string usage 2013-09-13 20:02:50 -04:00
w6692.h