Subject: Re: linux-next: Tree for Nov 15 (target_core_mod)

From: "Nicholas A. Bellinger" <[email-masked]>
Date: Mon, 18 Nov 2013 11:46:55 -0800

On Fri, 2013-11-15 at 09:41 -0800, Randy Dunlap wrote:
> On 11/14/13 21:24, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Please do *not* add any v3.14 material to linux-next until after
> > v3.13-rc1 is released.
> > 
> > Changes since 20131114:
> > 
> 
> 
> on i386:
> 
> 
> ERROR: "percpu_ref_cancel_init" [drivers/target/target_core_mod.ko] undefined!
> ERROR: "percpu_ref_kill_and_confirm" [drivers/target/target_core_mod.ko] undefined!
> ERROR: "percpu_ref_init" [drivers/target/target_core_mod.ko] undefined!
> 
> 
> Full randconfig file is attached.
> 

Mmmm, confirmed that lib/Makefile not including percpu-refcount.o in
obj-y is the problem here..  (CC'ing Tejun + Kent).

Applying the following patch to target-pending/for-next now..

--nab

diff --git a/lib/Makefile b/lib/Makefile
index f3bb2cb..eaa946d 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -26,7 +26,7 @@ obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
         bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \
         gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \
         bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o \
-        percpu_ida.o
+        percpu-refcount.o percpu_ida.o
 obj-y += string_helpers.o
 obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o
 obj-y += kstrtox.o