diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-07-17 16:23:28 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-02-12 08:58:05 +0100 |
commit | 6b443a1b7c6ba75465730e74013b165a55bd3e9e (patch) | |
tree | 1ad03f2020a3b3d01230a74483ed8411e54f56c7 | |
parent | d6ace935eafa321e22d6a68c50801c4b914fd2a9 (diff) | |
download | lwn-6b443a1b7c6ba75465730e74013b165a55bd3e9e.tar.gz lwn-6b443a1b7c6ba75465730e74013b165a55bd3e9e.zip |
openrisc: fix CONFIG_UID16 setting
commit 04ea1e91f85615318ea91ce8ab50cb6a01ee4005 upstream.
openrisc-allnoconfig:
kernel/uid16.c: In function 'SYSC_setgroups16':
kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'
kernel/uid16.c:184:13: warning: assignment makes pointer from integer without a cast
openrisc shouldn't be setting CONFIG_UID16 when CONFIG_MULTIUSER=n.
Fixes: 2813893f8b197a1 ("kernel: conditionally support non-root users, groups and capabilities")
Reported-by: Fengguang Wu <fengguang.wu@gmail.com>
Cc: Iulia Manda <iulia.manda21@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | arch/openrisc/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 9488209a5253..191cd8e8b5da 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -16,6 +16,7 @@ config OPENRISC select GENERIC_IRQ_SHOW select GENERIC_IOMAP select GENERIC_CPU_DEVICES + select HAVE_UID16 select GENERIC_ATOMIC64 select GENERIC_CLOCKEVENTS select GENERIC_STRNCPY_FROM_USER @@ -29,9 +30,6 @@ config MMU config HAVE_DMA_ATTRS def_bool y -config UID16 - def_bool y - config RWSEM_GENERIC_SPINLOCK def_bool y |