]> git.ipfire.org Git - people/arne_f/kernel.git/commit
mn10300: Select CONFIG_HAVE_UID16 to fix build failure
authorGuenter Roeck <linux@roeck-us.net>
Sat, 28 Nov 2015 16:52:04 +0000 (08:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2016 05:57:16 +0000 (21:57 -0800)
commit89423dbc3dde05fbf49a8e67aa42b628d166fe01
tree67de21955637aae01f14aacf9126d53ecf74ceee
parente8809090cd1484d631bac3cba7fd078c88ea45ea
mn10300: Select CONFIG_HAVE_UID16 to fix build failure

commit c86576ea114a9a881cf7328dc7181052070ca311 upstream.

mn10300 builds fail with

fs/stat.c: In function 'cp_old_stat':
fs/stat.c:163:2: error: 'old_uid_t' undeclared

ipc/util.c: In function 'ipc64_perm_to_ipc_perm':
ipc/util.c:540:2: error: 'old_uid_t' undeclared

Select CONFIG_HAVE_UID16 and remove local definition of CONFIG_UID16
to fix the problem.

Fixes: fbc416ff8618 ("arm64: fix building without CONFIG_UID16")
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mn10300/Kconfig