Re: linux-next: driver-core tree build warning
From: Greg KH <hidden>
Date: 2008-08-16 05:36:52
On Fri, Aug 15, 2008 at 12:59:57PM +1000, Stephen Rothwell wrote:
Hi Greg,
Today's linux-next build (x86_64 allmodconfig) produced this warning:
In file included from include2/asm/string.h:4,
from include/linux/string.h:19,
from include/linux/dynamic_printk.h:4,
from include/linux/kernel.h:19,
from arch/x86/boot/memory.c:16:
include2/asm/string_64.h:34:1: warning: "memcpy" redefined
In file included from /scratch/sfr/next/arch/x86/boot/memory.c:15:
arch/x86/boot/boot.h:231:1: warning: this is the location of the previous definition
Probably caused by commit 1b75321c2d0561d9ecfe3794fa939264f3eb7e26
("driver core: basic infrastructure for per-module dynamic debug
messages") which added an include of linux/dynamic_printk.h to
linux/kernel.h.Wierd. Jason, any thoughts? thanks, greg k-h