| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [IDE] Fix build bug |
| From: | Sam Ravnborg <sam@ravnborg.org> |
| Date: | Thu, 25 Oct 2007 16:13:05 +0200 |
| Cc: | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-mips@linux-mips.org |
| In-reply-to: | <20071025135334.GA23272@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20071025135334.GA23272@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
On Thu, Oct 25, 2007 at 02:53:34PM +0100, Ralf Baechle wrote:
> CC drivers/ide/pci/generic.o
> drivers/ide/pci/generic.c:52: error: __setup_str_ide_generic_all_on causes a
> +section type conflict
>
> This sort of build error is becoming a regular issue. Either all or non
> of the elements that go into a particular section of a compilation unit
> need to be const. Or an error may result such as in this case if
> CONFIG_HOTPLUG is unset.
So we can avoid this if we invent a __constinitdata tag that uses
a new section?
I ask mainly to understand this error - not that I am that found
of the idea.
Sam
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] dz.c: Use a helper to cast from "struct uart_port *", Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: [IDE] Fix build bug, Ralf Baechle |
| Previous by Thread: | [IDE] Fix build bug, Ralf Baechle |
| Next by Thread: | Re: [IDE] Fix build bug, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |