linux/drivers/atm
Pan Bian 4606c9e8c5 atm: lanai: set error code when ioremap fails
In function lanai_dev_open(), when the call to ioremap() fails, the
value of return variable result is 0. 0 means no error in this context.
This patch fixes the bug, assigning "-ENOMEM" to result when ioremap()
returns a NULL pointer.

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

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-05 13:27:33 -05:00
..
.gitignore
adummy.c
ambassador.c atm: ambassador: use NULL instead of 0 for pointer 2014-02-19 16:39:10 -05:00
ambassador.h
atmtcp.c drivers/atm/atmtcp.c: fix error return code 2014-08-07 16:02:57 -07:00
eni.c ATM-ENI: Use kmalloc_array() in eni_start() 2016-09-09 19:26:30 -07:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c atm: firestream: add more reserved strings 2016-05-31 11:52:59 -07:00
firestream.h atm: firestream: remove duplicate define 2013-10-21 18:46:46 -04:00
fore200e.c atm: fore200e: Do not drop const qualifier 2016-08-18 23:46:42 -07:00
fore200e.h
he.c ATM-ForeRunnerHE: Use kmalloc_array() in he_init_group() 2016-09-09 19:27:32 -07:00
he.h atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
horizon.c atm: horizon: Use setup_timer 2016-07-01 05:58:26 -04:00
horizon.h
idt77105.c atm: idt77105: Use setup_timer 2015-06-10 22:46:34 -07:00
idt77105.h
idt77252_tables.h
idt77252.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
idt77252.h
iphase.c atm: iphase: fix newline escape and minor tweak to source formatting 2016-09-15 19:15:55 -04:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-08 14:22:05 -05:00
Kconfig
lanai.c atm: lanai: set error code when ioremap fails 2016-12-05 13:27:33 -05:00
Makefile
midway.h
nicstar.c ATM-nicstar: Refactor a dev_alloc_skb() call in dequeue_rx() 2016-09-10 21:45:25 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c atm: solos-pci: use to_pci_dev() 2015-12-29 15:32:24 -05:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c ATM-ZeitNet: Fix indentation for one DPRINTK() call in start_rx() 2016-09-10 21:46:07 -07:00
zatm.h
zeprom.h