Re: Compile Warnings on 2.6.16-rc5-mm1

From: Kevin Winchester
Date: Thu Mar 02 2006 - 20:14:19 EST


Kevin Winchester wrote:

I get the following compile warnings on 2.6.16-rc5-mm1. I am looking into them, but someone probably knows why they're there right off.

In file included from include/asm/hw_irq.h:23,
from include/linux/irq.h:94,
from include/asm/hardirq.h:6,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from include/linux/rtc.h:14,
from drivers/rtc/interface.c:14:
include/linux/profile.h:66: warning: "struct notifier_block" declared inside parameter list
include/linux/profile.h:66: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/profile.h:71: warning: "struct notifier_block" declared inside parameter list
include/linux/profile.h:76: warning: "struct notifier_block" declared inside parameter list
include/linux/profile.h:81: warning: "struct notifier_block" declared inside parameter list


These come up in lots and lots of files. Everything that includes hardirq.h it seems. My config is below.

<snip config>

I discovered I can make these go away by enabling CONFIG_PROFILING, which was a wild guess since the problem happened in profile.h.

Kevin

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