Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279178

[PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure

Path csiph.com!usenet.pasdenom.info!aioe.org!bofh.it!news.nic.it!robomod
From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure
Date Sat, 28 Nov 2015 18:00:01 +0100
Message-ID <qzR0R-2SW-1@gated-at.bofh.it> (permalink)
X-Original-To David Howells <dhowells@redhat.com>
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=zUVHaLEBn/DU3AXxk50Wz3OuwALb7w+dJOWfDZaMM1o=; b=foaFes0iqMGIWrJnDQJBFJ+UZpjQXBnlIRjdtKbRqLdEekbSgAdjWvhOF3lr7v5FgJ4zOcWuDS4n0KKoPXj+vPEADQbNDk+MuYiWzow0dHp+0Z0oOOp097ElzudVC8gaKXnma+NPsCsOd7d+5HLeDnG0ATlvSdsfyNygSwEGEXY=;
X-Mailer git-send-email 2.1.4
X-Authenticated_Sender guenter@roeck-us.net
X-Outgoing-Spam-Status No, score=-1.0
X-Antiabuse This header was added to track abuse, please include it with any abuse report
X-Antiabuse Primary Hostname - bh-25.webhostbox.net
X-Antiabuse Original Domain - vger.kernel.org
X-Antiabuse Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse Sender Address Domain - roeck-us.net
X-Get-Message-Sender-Via bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
X-Original-Cc Koichi Yasutake <yasutake.koichi@jp.panasonic.com>, linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>, Arnd Bergmann <arnd@arndb.de>
X-Original-Date Sat, 28 Nov 2015 08:57:57 -0800
X-Original-Message-ID <1448729877-18457-1-git-send-email-linux@roeck-us.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1279178

Show key headers only | View raw


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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/mn10300/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig
index 4434b54e1d87..78ae5552fdb8 100644
--- a/arch/mn10300/Kconfig
+++ b/arch/mn10300/Kconfig
@@ -1,6 +1,7 @@
 config MN10300
 	def_bool y
 	select HAVE_OPROFILE
+	select HAVE_UID16
 	select GENERIC_IRQ_SHOW
 	select ARCH_WANT_IPC_PARSE_VERSION
 	select HAVE_ARCH_TRACEHOOK
@@ -37,9 +38,6 @@ config HIGHMEM
 config NUMA
 	def_bool n
 
-config UID16
-	def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
 	def_bool y
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure Guenter Roeck <linux@roeck-us.net> - 2015-11-28 18:00 +0100
  Re: [PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure Arnd Bergmann <arnd@arndb.de> - 2015-11-30 10:20 +0100
  Re: [PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure David Howells <dhowells@redhat.com> - 2015-11-30 14:50 +0100
    Re: [PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure Guenter Roeck <linux@roeck-us.net> - 2015-11-30 15:50 +0100
      Re: [PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure David Howells <dhowells@redhat.com> - 2015-11-30 16:00 +0100

csiph-web