login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
30
Re: [IDE] Fix build bug
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Denys Vlasenko <vda.linux@...>
To: Bartlomiej Zolnierkiewicz <bzolnier@...>
Cc: Ralf Baechle <ralf@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-ide@...>, <linux-mips@...>, Martijn Uffing <mp3project@...>
Subject:
Re: [IDE] Fix build bug
Date: Tuesday, October 30, 2007 - 7:34 am
On Thursday 25 October 2007 22:41, Bartlomiej Zolnierkiewicz wrote:
quoted text
> > -static const struct ide_port_info generic_chipsets[] __devinitdata = { > > +static struct ide_port_info generic_chipsets[] __devinitdata = { > > /* 0 */ DECLARE_GENERIC_PCI_DEV("Unknown", 0), > > > > { /* 1 */ > > I would prefer to not remove const from generic_chipsets[] so: > > [PATCH] drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n > > It turns out that const and __{dev}initdata cannot be mixed currently > and that generic IDE PCI host driver is also affected by the same issue: > > On Thursday 25 October 2007, 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 > > [ Also reported by Martijn Uffing <mp3project@sarijopen.student.utwente.nl>. ] > > This patch workarounds the problem in a bit hackish way but without > removing const from generic_chipsets[] (it adds const to __setup() so > __setup_str_ide_generic_all becomes const).
You wouldn't believe how much const data is not marked as const because we don't have __constinitdata etc. Literally megabytes. -- vda -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[IDE] Fix build bug
, Ralf Baechle
, (Thu Oct 25, 9:53 am)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierkiewicz...
, (Thu Oct 25, 5:41 pm)
Re: [IDE] Fix build bug
, Denys Vlasenko
, (Tue Oct 30, 7:34 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Tue Oct 30, 8:41 am)
Re: [IDE] Fix build bug
, Denys Vlasenko
, (Thu Nov 1, 2:43 pm)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Fri Nov 2, 8:34 am)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierkiewicz...
, (Tue Oct 30, 4:30 pm)
Re: [IDE] Fix build bug
, Sam Ravnborg
, (Thu Oct 25, 10:13 am)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierkiewicz...
, (Thu Oct 25, 5:52 pm)
Re: [IDE] Fix build bug
, Maciej W. Rozycki
, (Thu Oct 25, 10:47 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Thu Oct 25, 12:05 pm)
Re: [IDE] Fix build bug
, Maciej W. Rozycki
, (Thu Oct 25, 1:12 pm)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Thu Oct 25, 10:13 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 013/196] Documentation: Replace obsolete "driverfs" with "sysfs".
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Jeff Garzik
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Andrew Morton
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
433 guests
online.
Syndicate