linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-11-30  4:52 Stephen Rothwell
  2011-11-30  5:40 ` David Miller
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2011-11-30  4:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Hi Andrew,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

In file included from include/linux/netdevice.h:54:0,
                 from arch/powerpc/net/bpf_jit_comp.c:14:
include/net/netprio_cgroup.h:34:12: error: 'net_prio_subsys_id' redeclared as different kind of symbol
include/linux/cgroup_subsys.h:71:1: note: previous definition of 'net_prio_subsys_id' was here

And many more similar.

Caused (or exposed) by commit 9222aa56c0ce
("include/net/netprio_cgroup.h: various fixes") from the akpm tree.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-06-06  7:25 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2013-06-06  7:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Zhang Yanfei

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

mm/page_alloc.c: In function 'free_area_init_node':
mm/page_alloc.c:4801:2: error: implicit declaration of function 'get_pfn_range_for_nid' [-Werror=implicit-function-declaration]

Caused by commit 55ce7b776831 ("mm: remove duplicated call to
get_pfn_range_for_nid()").  This build does not have
CONFIG_HAVE_MEMBLOCK_NODE_MAP defined, so that get_pfn_range_for_nid() is
not defined.  It used to be called from within the protection of
CONFIG_HAVE_MEMBLOCK_NODE_MAP.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-06-06  7:15 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2013-06-06  7:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Glauber Costa

[-- Attachment #1: Type: text/plain, Size: 3285 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

In file included from arch/sparc/include/asm/pgtable.h:6:0,
                 from include/linux/mm.h:50,
                 from include/linux/memcontrol.h:27,
                 from include/linux/swap.h:8,
                 from include/linux/suspend.h:4,
                 from init/do_mounts.c:16:
arch/sparc/include/asm/pgtable_32.h:357:40: error: unknown type name 'swp_entry_t'
arch/sparc/include/asm/pgtable_32.h:362:42: error: unknown type name 'swp_entry_t'
arch/sparc/include/asm/pgtable_32.h:367:1: error: unknown type name 'swp_entry_t'
arch/sparc/include/asm/pgtable_32.h: In function '__swp_entry':
arch/sparc/include/asm/pgtable_32.h:369:10: error: 'swp_entry_t' undeclared (first use in this function)
arch/sparc/include/asm/pgtable_32.h:369:10: note: each undeclared identifier is reported only once for each function it appears in
arch/sparc/include/asm/pgtable_32.h:369:23: error: expected ';' before '{' token
In file included from include/linux/memcontrol.h:27:0,
                 from include/linux/swap.h:8,
                 from arch/sparc/include/asm/pgtable_32.h:17,
                 from arch/sparc/include/asm/pgtable.h:6,
                 from arch/sparc/kernel/traps_32.c:23:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:322:17: error: 'VMALLOC_START' undeclared (first use in this function)
include/linux/mm.h:322:17: note: each undeclared identifier is reported only once for each function it appears in
include/linux/mm.h:322:41: error: 'VMALLOC_END' undeclared (first use in this function)
include/linux/mm.h: In function 'maybe_mkwrite':
include/linux/mm.h:527:3: error: implicit declaration of function 'pte_mkwrite' [-Werror=implicit-function-declaration]
In file included from arch/sparc/include/asm/pgtable.h:6:0,
                 from arch/sparc/kernel/traps_32.c:23:
arch/sparc/include/asm/pgtable_32.h: At top level:
arch/sparc/include/asm/pgtable_32.h:251:21: error: conflicting types for 'pte_mkwrite'
include/linux/mm.h:527:9: note: previous implicit declaration of 'pte_mkwrite' was here

Caused by commit 41aed1ec2e09 ("lru: add an element to a memcg list")
from the akpm tree.  This patch added an include of linux/mm.h to
linux/memcontrol.h, but that was unneeded as the rest of the patch only
added dependencies on pointers to struct page and struct mem_cgroup -
both of which are already declared in this header.

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 6 Jun 2013 16:52:42 +1000
Subject: [PATCH] lru: memcontrol.h does not need mm.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/memcontrol.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index c8b1412..57b8c2b 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -24,7 +24,6 @@
 #include <linux/hardirq.h>
 #include <linux/jump_label.h>
 #include <linux/list_lru.h>
-#include <linux/mm.h>
 
 struct mem_cgroup;
 struct page_cgroup;
-- 
1.8.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-06-06  6:18 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2013-06-06  6:18 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Shuah Khan

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

drivers/rtc/class.c: In function 'rtc_init':
drivers/rtc/class.c:339:18: error: lvalue required as unary '&' operand

Caused by commit c5a32d622261 ("drivers/rtc/class: convert from Legacy pm
ops to dev_pm_ops") from the akpm tree.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-03-04  3:28 Stephen Rothwell
  2013-03-04  9:22 ` Jan Kara
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2013-03-04  3:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Hi all,

After merging the final tree, today's linux-next build (arm defconfig)
failed like this:

kernel/built-in.o: In function `console_unlock':
cpu_pm.c:(.text+0x4418): undefined reference to `__bad_udelay'

Caused by commit 4df7323a125f ("printk: avoid softlockups in
console_unlock()") which added

	ndelay(max_interrupt_disabled_duration() / 2);

to console_unlock() which can be a 2.5 second delay ... and the maximum
delayed allowed by udelay (at least in this build) is 2ms.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-03-04  3:10 Stephen Rothwell
  2013-03-06 23:52 ` Andrew Morton
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2013-03-04  3:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

arch/sparc/built-in.o: In function `setup_arch':
(.init.text+0xc38): undefined reference to `early_console'
arch/sparc/built-in.o: In function `setup_arch':
(.init.text+0xc44): undefined reference to `early_console'

Caused by commit 16ac99bd7acd ("early_printk: consolidate random copies
of identical code").  This build does not have CONFIG_EARLY_PRINTK defined.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-01-24  5:54 Stephen Rothwell
  2013-01-24 10:30 ` Shaohua Li
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2013-01-24  5:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Shaohua Li, David S. Miller

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

arch/sparc/mm/init_32.c: In function 'show_mem':
arch/sparc/mm/init_32.c:60:23: error: invalid operands to binary << (have 'atomic_long_t' and 'int')

Caused by commit "swap: add per-partition lock for swapfile" from the
akpm tree.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2013-01-21  6:08 Stephen Rothwell
  2013-01-21  7:17 ` Tang Chen
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2013-01-21  6:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Tang Chen

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Hi all,

After merging the final tree, today's linux-next build (arm defconfig)
failed like this:

mm/memblock.c: In function 'memblock_find_in_range_node':
mm/memblock.c:104:2: error: invalid use of undefined type 'struct movablecore_map'
mm/memblock.c:123:4: error: invalid use of undefined type 'struct movablecore_map'
mm/memblock.c:130:7: error: invalid use of undefined type 'struct movablecore_map'
mm/memblock.c:131:4: error: invalid use of undefined type 'struct movablecore_map'

Caused by commit "page_alloc: bootmem limit with movablecore_map" from
the akpm tree.  The definition of struct movablecore_map is protected by
CONFIG_HAVE_MEMBLOCK_NODE_MAP but its use is not.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-11-09  4:16 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-11-09  4:16 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-next, linux-kernel, Michel Lespinasse, Rik van Riel,
	David S. Miller

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

arch/sparc/kernel/sys_sparc_32.c: In function 'arch_get_unmapped_area':
arch/sparc/kernel/sys_sparc_32.c:41:26: error: unused variable 'vmm' [-Werror=unused-variable]

Caused by commit "mm: use vm_unmapped_area() on sparc32 architecture".

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-11-09  4:09 Stephen Rothwell
  2012-11-14 22:18 ` Andrew Morton
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2012-11-09  4:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Michel Lespinasse, Rik van Riel

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

arch/sparc/kernel/sys_sparc_64.c: In function 'arch_get_unmapped_area':
arch/sparc/kernel/sys_sparc_64.c:92:16: error: unused variable 'start_addr' [-Werror=unused-variable]
arch/sparc/kernel/sys_sparc_64.c: In function 'arch_get_unmapped_area_topdown':
arch/sparc/kernel/sys_sparc_64.c:194:20: error: 'do_colour_align' undeclared (first use in this function)
arch/sparc/kernel/sys_sparc_64.c:194:20: note: each undeclared identifier is reported only once for each function it appears in
arch/sparc/kernel/sys_sparc_64.c:194:51: error: 'shm_align_mask' undeclared (first use in this function)

Caused by commit "mm: use vm_unmapped_area() on sparc64 architecture".  I
have reverted that commit for today (and the following fix patch).

arch/sparc/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area_topdown':
arch/sparc/mm/hugetlbpage.c:63:25: error: unused variable 'vma' [-Werror=unused-variable]

Caused by commit "mm: use vm_unmapped_area() in hugetlbfs on sparc64
architecture".  I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-11-09  3:58 Stephen Rothwell
  2012-11-09  4:01 ` Andrew Morton
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2012-11-09  3:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Michel Lespinasse, Rik van Riel

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

Hi all,

After merging the final tree, today's linux-next build (i386 defconfig)
failed like this:

arch/x86/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area_topdown':
arch/x86/mm/hugetlbpage.c:299:20: error: 'mm' undeclared (first use in this function)
arch/x86/mm/hugetlbpage.c:299:20: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit "mm: use vm_unmapped_area() in hugetlbfs on i386
architecture".

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-09-17 11:49 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-09-17 11:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, David Fries

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]

Hi all,

After merging the final tree, today's linux-next build (i386 defconfig)
failed like this:

drivers/rtc/class.c: In function 'rtc_init':
drivers/rtc/class.c:261:23: error: 'rtc_suspend' undeclared (first use in this function)
drivers/rtc/class.c:261:23: note: each undeclared identifier is reported only once for each function it appears in
drivers/rtc/class.c:262:22: error: 'rtc_resume' undeclared (first use in this function)

Caused by commit "rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix"
from the akpm tree.

I have added the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 17 Sep 2012 21:43:56 +1000
Subject: [PATCH] rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-2

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/rtc/class.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index ca58ea9..f8a0aab 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -34,8 +34,9 @@ static void rtc_device_release(struct device *dev)
 #ifdef CONFIG_RTC_HCTOSYS_DEVICE
 /* Result of the last RTC to system clock attempt. */
 int rtc_hctosys_ret = -ENODEV;
+#endif
 
-#ifdef CONFIG_PM
+#if defined(CONFIG_PM) && defined(CONFIG_RTC_HCTOSYS_DEVICE)
 /*
  * On suspend(), measure the delta between one RTC and the
  * system's wall clock; restore it on resume().
@@ -129,7 +130,6 @@ static int rtc_resume(struct device *dev)
 #define rtc_suspend	NULL
 #define rtc_resume	NULL
 #endif
-#endif
 
 
 /**
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-09-13  8:11 Stephen Rothwell
  2012-09-13 13:24 ` David Fries
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2012-09-13  8:11 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, David Fries

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

drivers/built-in.o: In function `rtc_hctosys':
hctosys.c:(.init.text+0x4a98): undefined reference to `rtc_hctosys_ret'
hctosys.c:(.init.text+0x4b54): undefined reference to `rtc_hctosys_ret'
hctosys.c:(.init.text+0x4b58): undefined reference to `rtc_hctosys_ret'

Caused by commit "rtc_sysfs_show_hctosys(): display 0 if resume failed"
from the akpm tree.  rtc_hctosys_ret was moved into class.c but protected
by defined(CONFIG_PM) && defined(CONFIG_RTC_HCTOSYS_DEVICE) and this
build does not have CONFIG_PM set.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-09-13  8:01 Stephen Rothwell
  2012-09-13 10:01 ` Shaohua Li
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2012-09-13  8:01 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-next, linux-kernel, David S. Miller, Shaohua Li, Rik van Riel

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:377:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]

Caused by commit "swap: add a simple detector for inappropriate swapin
readahead" from the akmp tree.  atomic_dec_if_positive() appears to only
exist on avr32, microblaze, mips, powerpc and x86 ...

I have reverted that commit (and the following trivial fix commit) for
today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-05-11  6:20 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-05-11  6:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Sasha Levin

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/isdn/i4l/isdn_common.c: In function 'isdn_init':
drivers/isdn/i4l/isdn_common.c:2365:9: error: 'KERN_CONG' undeclared (first use in this function)
drivers/isdn/i4l/isdn_common.c:2365:9: note: each undeclared identifier is reported only once for each function it appears in
drivers/isdn/i4l/isdn_common.c:2365:19: error: expected ')' before string constant

Caused by commit 87577ec95e0c ("ISDN: add missing KERN_CONT").  Please
build test this stuff.  :-(

I reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-03-14 23:44 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-03-14 23:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Siddhesh Poyarekar

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Hi Andrew,

After merging the akpm tree, today's linux-next build (any without
CONFIG_MMU e.g. bfin BF537-STAMP_defconfig) failed like this:

fs/proc/task_nommu.c:173: undefined reference to `vm_is_stack'

Caused by commit "procfs: mark thread stack correctly in proc/<pid>/maps"
from the akpm tree which only defines that function when CONFIG_MMU is
set.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-02-17 10:20 Stephen Rothwell
  2012-02-17 12:06 ` Konstantin Khlebnikov
  2012-02-19 23:04 ` Stephen Rothwell
  0 siblings, 2 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-02-17 10:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, LKML, Konstantin Khlebnikov

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

Hi Andrew,

Today's linux-next fails to build (s390 allnoconfig) like this:

In file included from arch/s390/mm/maccess.c:15:
include/linux/gfp.h: In function 'gfp_zonelist':
include/linux/gfp.h:267: error: '__enabled_CONFIG_NUMA' undeclared (first use in this function)
include/linux/gfp.h:267: error: (Each undeclared identifier is reported only once
include/linux/gfp.h:267: error: for each function it appears in.)
include/linux/gfp.h:267: error: '__enabled_CONFIG_NUMA_MODULE' undeclared (first use in this function)

and many more.  This also happens in other architectures and configs but
(obviously) not all builds.

Presumably caused by commit 053361e1a072 ("mm: replace NUMA_BUILD with
IS_ENABLED(CONFIG_NUMA)").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-02-17  5:30 Stephen Rothwell
  2012-02-17  6:07 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2012-02-17  5:30 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-next, linux-kernel, H. Peter Anvin, Benjamin Herrenschmidt,
	ppc-dev

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]

Hi Andrew,

After merging the final tree, today's linux-next build (powerpc
allnoconfig) failed like this:

In file included from include/linux/posix_types.h:47:0,
                 from include/linux/types.h:17,
                 from include/linux/page-flags.h:8,
                 from kernel/bounds.c:9:
arch/powerpc/include/asm/posix_types.h:15:14: error: conflicting types for '__kernel_size_t'
arch/powerpc/include/asm/posix_types.h:14:22: note: previous declaration of '__kernel_size_t' was here
In file included from include/linux/page-flags.h:8:0,
                 from kernel/bounds.c:9:
include/linux/types.h:68:1: error: unknown type name '__kernel_ssize_t'

Caused by commit a9dbe86e5995 ("powerpc: use generic posix_types.h").

This think was pointed out a couple of days ago, so maybe Andrew needs a
newer version of the patch.

I added this fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 17 Feb 2012 16:25:48 +1100
Subject: [PATCH] powerpc: use generic posix_types.h fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/include/asm/posix_types.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/include/asm/posix_types.h b/arch/powerpc/include/asm/posix_types.h
index 1fbe027f..f139325 100644
--- a/arch/powerpc/include/asm/posix_types.h
+++ b/arch/powerpc/include/asm/posix_types.h
@@ -12,7 +12,7 @@ typedef unsigned long	__kernel_old_dev_t;
 #define __kernel_old_dev_t __kernel_old_dev_t
 #else
 typedef unsigned int	__kernel_size_t;
-typedef int		__kernel_size_t;
+typedef int		__kernel_ssize_t;
 typedef long		__kernel_ptrdiff_t;
 #define __kernel_size_t __kernel_size_t
 
-- 
1.7.9

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2012-01-20  2:02 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2012-01-20  2:02 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-next, linux-kernel, Alex Shi, Christoph Lameter, Tejun Heo,
	Ingo Molnar, Thomas Gleixner, H. Peter Anvin

[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]

Hi all,

After merging the final tree, today's linux-next build (i386 defconfig)
failed like this:

In file included from arch/x86/include/asm/elf.h:90:0,
                 from include/linux/elf.h:7,
                 from arch/x86/kernel/cpu/amd.c:4:
arch/x86/include/asm/desc.h: In function 'native_set_ldt':
arch/x86/include/asm/desc.h:199:3: error: implicit declaration of function 'this_cpu_read' [-Werror=implicit-function-declaration]

Caused by commit a65a3870c856 ("x86: use this_cpu_xxx to replace percpu_xxx funcs").

I tried changing the include of asm/percpu.h to linux/percpu.h in
arch/x86/include/asm/smp.h (the above is caused by smp_processor_id()
using this_cpu_read()), but that made things worse.  So I added an
include of linux/percpu.h to arch/x86/include/asm/desc.h (but this seems
a bit fragile).

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 20 Jan 2012 12:51:40 +1100
Subject: [PATCH] percpu: x86: fix smp_processor_id's need for this_cpu_read

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/x86/include/asm/desc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h
index e95822d..3072a2d 100644
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include/asm/desc.h
@@ -6,6 +6,7 @@
 #include <asm/mmu.h>
 
 #include <linux/smp.h>
+#include <linux/percpu.h>
 
 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)
 {
-- 
1.7.9.rc0.23.g7e521

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-12-17  4:42 Stephen Rothwell
  2011-12-17  5:02 ` NeilBrown
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2011-12-17  4:42 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-next, linux-kernel, NeilBrown, Richard Purdie, Geert Uytterhoeven

[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

Hi all,

After merging the final tree, today's linux-next build (m68k allmodconfig)
failed like this:

drivers/leds/leds-tca6507.c:158: error: field 'gpio' has incomplete type
drivers/leds/leds-tca6507.c: In function 'tca6507_gpio_set_value':
drivers/leds/leds-tca6507.c:534: warning: type defaults to 'int' in declaration of '__mptr'
drivers/leds/leds-tca6507.c:534: warning: initialization from incompatible pointer type
drivers/leds/leds-tca6507.c: In function 'tca6507_probe':
drivers/leds/leds-tca6507.c:618: error: implicit declaration of function 'gpiochip_add'
drivers/leds/leds-tca6507.c: In function 'tca6507_remove':
drivers/leds/leds-tca6507.c:651: error: implicit declaration of function 'gpiochip_remove'

Caused by commit 7a9244d89523 ("leds: add driver for TCA6507 LED controller").

Maybe this driver needs some dependencies ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-11-30  4:42 Stephen Rothwell
  2011-11-30  5:16 ` Andrew Morton
  0 siblings, 1 reply; 51+ messages in thread
From: Stephen Rothwell @ 2011-11-30  4:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, David Rientjes

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

Hi Andrew,

After merging the final tree, today's linux-next build (i386 defconfig)
failed like this:

kernel/cpuset.c: In function 'cpuset_change_task_nodemask':
kernel/cpuset.c:971:17: error: 'struct task_struct' has no member named 'mempolicy'

Caused by commit abf5d6d23d83 ("cpusets: stall when updating mems_allowed
for mempolicy or disjoint nodemask") from the akpm tree.  The mempolicy
member is only available when CONFIG_NUMA is set.

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-10-05  8:23 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2011-10-05  8:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Frederic Weisbecker

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

Hi all,

After merging the final tree, today's linux-next build (powerpc allyesconfig)
failed like this:

kernel/cgroup_task_counter.c: In function 'task_counter_create':
kernel/cgroup_task_counter.c:60:3: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration]
kernel/cgroup_task_counter.c:60:3: warning: return makes pointer from integer without a cast [enabled by default]

Caused by commit 7d8662e11b18 ("cgroups: add a task counter subsystem")
from the akpm tree.

I added the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 5 Oct 2011 19:20:15 +1100
Subject: [PATCH] cgroups: ERR_PTR needs err.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 kernel/cgroup_task_counter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/cgroup_task_counter.c b/kernel/cgroup_task_counter.c
index 2374905..201d8e3 100644
--- a/kernel/cgroup_task_counter.c
+++ b/kernel/cgroup_task_counter.c
@@ -11,6 +11,7 @@
 #include <linux/cgroup.h>
 #include <linux/slab.h>
 #include <linux/res_counter.h>
+#include <linux/err.h>
 
 
 struct task_counter {
-- 
1.7.6.3

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-09-30  1:52 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2011-09-30  1:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Joe Perches

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Hi all,

After merging the final tree, the next-20110929 build (um defconfig)
failed like this:

In file included from arch/um/os-Linux/sys-i386/registers.c:13:
arch/um/include/shared/user.h:26: error: expected declaration specifiers or '...' before numeric constant
arch/um/include/shared/user.h:26: error: expected declaration specifiers or '...' before numeric constant
arch/um/include/shared/user.h:26: warning: return type defaults to 'int'
arch/um/include/shared/user.h:26: warning: function declaration isn't a prototype
arch/um/include/shared/user.h: In function '__printf':
arch/um/include/shared/user.h:29: error: expected declaration specifiers or '...' before numeric constant
arch/um/include/shared/user.h:29: error: expected declaration specifiers or '...' before numeric constant
arch/um/include/shared/user.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'

And it went downhill from here ...

Caused by commit 820b1a71d7a7 ("treewide: use __printf not __attribute__
((format(printf,...)))").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-09-28 10:01 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2011-09-28 10:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Andi Kleen

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

fs/direct-io.c: In function '__blockdev_direct_IO':
fs/direct-io.c:1327:2: error: implicit declaration of function 'prefetch'

Caused by commit 30ddb4d48213 ("dio: optimize cache misses in the
submission path").

I have added this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 28 Sep 2011 19:58:28 +1000
Subject: [PATCH] dio: using prefetch requires including prefetch.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 fs/direct-io.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/direct-io.c b/fs/direct-io.c
index a05ca05..8d22849 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -36,6 +36,7 @@
 #include <linux/rwsem.h>
 #include <linux/uio.h>
 #include <linux/atomic.h>
+#include <linux/prefetch.h>
 
 /*
  * How many user pages to map in one call to get_user_pages().  This determines
-- 
1.7.6.3

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-07-27  3:55 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2011-07-27  3:55 UTC (permalink / raw)
  To: Andrew Morton, Linus
  Cc: linux-next, linux-kernel, Arun Sharma, David Miller,
	Hans-Christian Egtvedt

Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

arch/sparc/lib/atomic32.c:58:5: error: redefinition of 'atomic_add_unless'
include/linux/atomic.h:15:19: note: previous definition of 'atomic_add_unless' was here

Presumably caused by commit 1af08a1407f4 ("This is in preparation for
more generic atomic").

That commit is now in Linus' tree as commit f24219b4e90c ("atomic: move
atomic_add_unless to generic code"), so this patch is probably applicable
there, now.

I have applied this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 27 Jul 2011 13:48:55 +1000
Subject: [PATCH] sparc: rename atomic_add_unless

Should have been done in commit 1af08a1407f4 ("This is in preparation
for more generic atomic").

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/sparc/lib/atomic32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c
index 1a371f8..8600eb2 100644
--- a/arch/sparc/lib/atomic32.c
+++ b/arch/sparc/lib/atomic32.c
@@ -55,7 +55,7 @@ int atomic_cmpxchg(atomic_t *v, int old, int new)
 }
 EXPORT_SYMBOL(atomic_cmpxchg);
 
-int atomic_add_unless(atomic_t *v, int a, int u)
+int __atomic_add_unless(atomic_t *v, int a, int u)
 {
 	int ret;
 	unsigned long flags;
@@ -67,7 +67,7 @@ int atomic_add_unless(atomic_t *v, int a, int u)
 	spin_unlock_irqrestore(ATOMIC_HASH(v), flags);
 	return ret != u;
 }
-EXPORT_SYMBOL(atomic_add_unless);
+EXPORT_SYMBOL(__atomic_add_unless);
 
 /* Atomic operations are already serializing */
 void atomic_set(atomic_t *v, int i)
-- 
1.7.5.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 51+ messages in thread
* linux-next: build failure after merge of the final tree (akpm tree related)
@ 2011-07-01  5:45 Stephen Rothwell
  0 siblings, 0 replies; 51+ messages in thread
From: Stephen Rothwell @ 2011-07-01  5:45 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Jingoo Han

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/video/backlight/ams369fg06.o:(.bss+0x510): multiple definition of `before_power'
drivers/video/backlight/s6e63m0.o:(.bss+0x5e0): first defined here

Caused by commit 45193c8486ef ("Add the ams369fg06 amoled panel driver.
The ams369fg06 amoled panel (480").  The variable should probably be
static in both files.

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 1 Jul 2011 15:34:22 +1000
Subject: [PATCH] backlight: make some varibales static

fixes this build error:

drivers/video/backlight/ams369fg06.o:(.bss+0x510): multiple definition of `before_power'
drivers/video/backlight/s6e63m0.o:(.bss+0x5e0): first defined here

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/video/backlight/ams369fg06.c |    2 +-
 drivers/video/backlight/s6e63m0.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
index 86a7daf..d1d8237 100644
--- a/drivers/video/backlight/ams369fg06.c
+++ b/drivers/video/backlight/ams369fg06.c
@@ -560,7 +560,7 @@ static int __devexit ams369fg06_remove(struct spi_device *spi)
 }
 
 #if defined(CONFIG_PM)
-unsigned int before_power;
+static unsigned int before_power;
 
 static int ams369fg06_suspend(struct spi_device *spi, pm_message_t mesg)
 {
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index 322040f..e1803ba 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -840,7 +840,7 @@ static int __devexit s6e63m0_remove(struct spi_device *spi)
 }
 
 #if defined(CONFIG_PM)
-unsigned int before_power;
+static unsigned int before_power;
 
 static int s6e63m0_suspend(struct spi_device *spi, pm_message_t mesg)
 {
-- 
1.7.5.4


-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2013-06-06  7:25 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30  4:52 linux-next: build failure after merge of the final tree (akpm tree related) Stephen Rothwell
2011-11-30  5:40 ` David Miller
2011-11-30  6:07   ` Andrew Morton
2011-11-30 11:48     ` Neil Horman
  -- strict thread matches above, loose matches on Subject: below --
2013-06-06  7:25 Stephen Rothwell
2013-06-06  7:15 Stephen Rothwell
2013-06-06  6:18 Stephen Rothwell
2013-03-04  3:28 Stephen Rothwell
2013-03-04  9:22 ` Jan Kara
2013-03-04  3:10 Stephen Rothwell
2013-03-06 23:52 ` Andrew Morton
2013-01-24  5:54 Stephen Rothwell
2013-01-24 10:30 ` Shaohua Li
2013-01-24 23:22   ` Stephen Rothwell
2013-01-21  6:08 Stephen Rothwell
2013-01-21  7:17 ` Tang Chen
2012-11-09  4:16 Stephen Rothwell
2012-11-09  4:09 Stephen Rothwell
2012-11-14 22:18 ` Andrew Morton
2012-11-14 22:30   ` David Miller
2012-11-14 23:09     ` Andrew Morton
2012-11-14 23:10       ` David Miller
2012-11-09  3:58 Stephen Rothwell
2012-11-09  4:01 ` Andrew Morton
2012-11-12  0:00   ` Stephen Rothwell
2012-09-17 11:49 Stephen Rothwell
2012-09-13  8:11 Stephen Rothwell
2012-09-13 13:24 ` David Fries
2012-09-13 13:34   ` Stephen Rothwell
2012-09-14  4:20     ` David Fries
2012-09-13  8:01 Stephen Rothwell
2012-09-13 10:01 ` Shaohua Li
2012-09-13 12:29   ` Stephen Rothwell
2012-05-11  6:20 Stephen Rothwell
2012-03-14 23:44 Stephen Rothwell
2012-02-17 10:20 Stephen Rothwell
2012-02-17 12:06 ` Konstantin Khlebnikov
2012-02-19 23:04 ` Stephen Rothwell
2012-02-19 23:15   ` Andrew Morton
2012-02-17  5:30 Stephen Rothwell
2012-02-17  6:07 ` Benjamin Herrenschmidt
2012-01-20  2:02 Stephen Rothwell
2011-12-17  4:42 Stephen Rothwell
2011-12-17  5:02 ` NeilBrown
2011-11-30  4:42 Stephen Rothwell
2011-11-30  5:16 ` Andrew Morton
2011-10-05  8:23 Stephen Rothwell
2011-09-30  1:52 Stephen Rothwell
2011-09-28 10:01 Stephen Rothwell
2011-07-27  3:55 Stephen Rothwell
2011-07-01  5:45 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).