From: Jeff Garzik <jeff@garzik.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Francois Romieu <romieu@fr.zoreil.com>,
maximilian attems <max@stro.at>,
netdev@vger.kernel.org
Subject: Re: sis190 build breakage
Date: Wed, 30 Jan 2008 03:22:51 -0500 [thread overview]
Message-ID: <47A033DB.3070608@garzik.org> (raw)
In-Reply-To: <20080130032838.GA17881@uranus.ravnborg.org>
Sam Ravnborg wrote:
> On Tue, Jan 29, 2008 at 11:03:10PM +0100, Francois Romieu wrote:
>> maximilian attems <max@stro.at> :
>>> CC [M] drivers/net/sis190.o
>>> drivers/net/sis190.c:329: error: sis190_pci_tbl causes a section type conflict
>>> make[5]: *** [drivers/net/sis190.o] Error 1
>>>
>>> gcc --version
>>> gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
>
> Looks like a bug where __initdata has been used
> for const data.
> Searching:
> static int __devinit sis190_get_mac_addr_from_apc(struct pci_dev *pdev,
> struct net_device *dev)
> {
> static const u16 __devinitdata ids[] = { 0x0965, 0x0966, 0x0968 };
> struct sis190_private *tp = netdev_priv(dev);
> struct pci_dev *isa_bridge;
> u8 reg, tmp8;
>
> Try to change this is __initconst and it should be fixed.
We have __initconst now?
Three cheers, and a beer, to whomever did that...
Jeff
next prev parent reply other threads:[~2008-01-30 8:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 21:50 sis190 build breakage maximilian attems
2008-01-29 22:03 ` Francois Romieu
2008-01-29 22:27 ` maximilian attems
2008-01-29 22:27 ` Francois Romieu
2008-01-29 23:12 ` maximilian attems
2008-01-30 0:42 ` Randy Dunlap
2008-01-30 3:28 ` Sam Ravnborg
2008-01-30 8:22 ` Jeff Garzik [this message]
2008-01-30 9:13 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A033DB.3070608@garzik.org \
--to=jeff@garzik.org \
--cc=max@stro.at \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.