Skip to content

Commit 7d7c4d0

Browse files
committed
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.
2 parents 531295e + e2cc502 commit 7d7c4d0

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3162,7 +3162,7 @@ F: drivers/net/ioc3-eth.c
31623162

31633163
IOC3 SERIAL DRIVER
31643164
M: Pat Gefre <pfg@sgi.com>
3165-
L: linux-mips@linux-mips.org
3165+
L: linux-serial@vger.kernel.org
31663166
S: Maintained
31673167
F: drivers/serial/ioc3_serial.c
31683168

arch/mips/Kbuild

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ subdir-ccflags-y := -Werror
77
include arch/mips/Kbuild.platforms
88
obj-y := $(platform-y)
99

10+
# make clean traverses $(obj-) without having included .config, so
11+
# everything ends up here
12+
obj- := $(platform-)
13+
1014
# mips object files
1115
# The object files are linked as core-y files would be linked
1216

arch/mips/dec/Platform

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# DECstation family
33
#
4-
platform-$(CONFIG_MACH_DECSTATION) = dec/
4+
platform-$(CONFIG_MACH_DECSTATION) += dec/
55
cflags-$(CONFIG_MACH_DECSTATION) += \
66
-I$(srctree)/arch/mips/include/asm/mach-dec
77
libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/

arch/mips/jz4740/Platform

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
core-$(CONFIG_MACH_JZ4740) += arch/mips/jz4740/
1+
platform-$(CONFIG_MACH_JZ4740) += jz4740/
22
cflags-$(CONFIG_MACH_JZ4740) += -I$(srctree)/arch/mips/include/asm/mach-jz4740
33
load-$(CONFIG_MACH_JZ4740) += 0xffffffff80010000

arch/mips/kernel/scall64-n32.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ EXPORT(sysn32_call_table)
322322
PTR sys_cacheflush
323323
PTR sys_cachectl
324324
PTR sys_sysmips
325-
PTR sys_io_setup /* 6200 */
325+
PTR compat_sys_io_setup /* 6200 */
326326
PTR sys_io_destroy
327-
PTR sys_io_getevents
328-
PTR sys_io_submit
327+
PTR compat_sys_io_getevents
328+
PTR compat_sys_io_submit
329329
PTR sys_io_cancel
330330
PTR sys_exit_group /* 6205 */
331331
PTR sys_lookup_dcookie

arch/mips/kernel/scall64-o32.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ sys_call_table:
445445
PTR compat_sys_futex
446446
PTR compat_sys_sched_setaffinity
447447
PTR compat_sys_sched_getaffinity /* 4240 */
448-
PTR sys_io_setup
448+
PTR compat_sys_io_setup
449449
PTR sys_io_destroy
450-
PTR sys_io_getevents
451-
PTR sys_io_submit
450+
PTR compat_sys_io_getevents
451+
PTR compat_sys_io_submit
452452
PTR sys_io_cancel /* 4245 */
453453
PTR sys_exit_group
454454
PTR sys32_lookup_dcookie

drivers/serial/ioc3_serial.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd)
20442044
if (!port) {
20452045
printk(KERN_WARNING
20462046
"IOC3 serial memory not available for port\n");
2047+
ret = -ENOMEM;
20472048
goto out4;
20482049
}
20492050
spin_lock_init(&port->ip_lock);

0 commit comments

Comments
 (0)