summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-20 13:18:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-20 13:18:21 -0700
commit7d7c4d06be246b249f0f7e0b7df2f73d09cc6376 (patch)
tree7c7d3314b7bea5fe932eb76d80d9a102ffcda204 /drivers
parent531295e63be8c2b8b909d7400739e8b8df60d61f (diff)
parente2cc502c3f71d8de812893527dc435e61b7fe604 (diff)
downloadop-kernel-dev-7d7c4d06be246b249f0f7e0b7df2f73d09cc6376.zip
op-kernel-dev-7d7c4d06be246b249f0f7e0b7df2f73d09cc6376.tar.gz
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus: MIPS: O32 compat/N32: Fix to use compat syscall wrappers for AIO syscalls. MAINTAINERS: Change list for ioc_serial to linux-serial. SERIAL: ioc3_serial: Return -ENOMEM on memory allocation failure MIPS: jz4740: Fix Kbuild Platform file. MIPS: Repair Kbuild make clean breakage.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/ioc3_serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/ioc3_serial.c b/drivers/serial/ioc3_serial.c
index 93de907..800c546 100644
--- a/drivers/serial/ioc3_serial.c
+++ b/drivers/serial/ioc3_serial.c
@@ -2044,6 +2044,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd)
if (!port) {
printk(KERN_WARNING
"IOC3 serial memory not available for port\n");
+ ret = -ENOMEM;
goto out4;
}
spin_lock_init(&port->ip_lock);
OpenPOWER on IntegriCloud