[PATCH net-next] lib: move strncpy_from_unsafe() into mm/maccess.c

2015-08-31 Thread Alexei Starovoitov
To fix build errors: kernel/built-in.o: In function `bpf_trace_printk': bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe' kernel/built-in.o: In function `fetch_memory_string': trace_kprobe.c:(.text+0x11acf8): undefined reference to `strncpy_from_unsafe' move

Re: [PATCH net-next] lib: move strncpy_from_unsafe() into mm/maccess.c

2015-08-31 Thread David Miller
From: Alexei Starovoitov Date: Mon, 31 Aug 2015 08:57:10 -0700 > To fix build errors: > kernel/built-in.o: In function `bpf_trace_printk': > bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe' > kernel/built-in.o: In function `fetch_memory_string': >

Re: [PATCH net-next] lib: move strncpy_from_unsafe() into mm/maccess.c

2015-08-31 Thread Guenter Roeck
On 08/31/2015 12:36 PM, David Miller wrote: From: Alexei Starovoitov Date: Mon, 31 Aug 2015 08:57:10 -0700 To fix build errors: kernel/built-in.o: In function `bpf_trace_printk': bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe' kernel/built-in.o: