login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
30
Re: [IDE] Fix build bug
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Denys Vlasenko
Subject:
Re: [IDE] Fix build bug
Date: Tuesday, October 30, 2007 - 4: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, 6:53 am)
Re: [IDE] Fix build bug
, Sam Ravnborg
, (Thu Oct 25, 7:13 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Thu Oct 25, 7:13 am)
Re: [IDE] Fix build bug
, Maciej W. Rozycki
, (Thu Oct 25, 7:47 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Thu Oct 25, 9:05 am)
Re: [IDE] Fix build bug
, Maciej W. Rozycki
, (Thu Oct 25, 10:12 am)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierki ...
, (Thu Oct 25, 2:41 pm)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierki ...
, (Thu Oct 25, 2:52 pm)
Re: [IDE] Fix build bug
, Denys Vlasenko
, (Tue Oct 30, 4:34 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Tue Oct 30, 5:41 am)
Re: [IDE] Fix build bug
, Bartlomiej Zolnierki ...
, (Tue Oct 30, 1:30 pm)
Re: [IDE] Fix build bug
, Denys Vlasenko
, (Thu Nov 1, 11:43 am)
Re: [IDE] Fix build bug
, Ralf Baechle
, (Fri Nov 2, 5:34 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate