From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Russell King <rmk@arm.linux.org.uk>,
Eyal Lebedinsky <eyal@eyal.emu.id.au>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.0-test5: CONFIG_PCMCIA_WL3501 build fails
Date: Tue, 9 Sep 2003 14:19:23 -0300 [thread overview]
Message-ID: <20030909171922.GE919@conectiva.com.br> (raw)
In-Reply-To: <Pine.LNX.4.44.0309091009210.17041-100000@home.osdl.org>
Good patch, Linus please apply 8)
Die, 2.95, die :-)
- Arnaldo
Em Tue, Sep 09, 2003 at 10:13:37AM -0700, Linus Torvalds escreveu:
>
> On Tue, 9 Sep 2003, Russell King wrote:
>
> > On Tue, Sep 09, 2003 at 10:12:11PM +1000, Eyal Lebedinsky wrote:
> > > allmodconfig, i386:
> > >
> > > CC [M] drivers/net/wireless/wl3501_cs.o
> > > drivers/net/wireless/wl3501_cs.c: In function `wl3501_mgmt_join':
> > > drivers/net/wireless/wl3501_cs.c:641: unknown field `id' specified in
> > > initializer
> >
> > I notice that this driver uses .foo.bar = baz type initialisers. These
> > do not work on gcc 2.95 (and last time I checked, the kernels minimum
> > compiler version was still 2.95.x)
>
> Yeah, the ".foo.bar = baz" thing should go. Something like the following,
> but it would be good to have somebody verify that this was all of it and
> that it actually works.
>
> Linus
>
> ----
> ===== drivers/net/wireless/wl3501_cs.c 1.70 vs edited =====
> --- 1.70/drivers/net/wireless/wl3501_cs.c Tue Aug 19 07:24:34 2003
> +++ edited/drivers/net/wireless/wl3501_cs.c Tue Sep 9 10:12:46 2003
> @@ -638,8 +638,10 @@
> .sig_id = WL3501_SIG_JOIN_REQ,
> .timeout = 10,
> .ds_pset = {
> - .el.id = IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET,
> - .el.len = 1,
> + .el = {
> + .id = IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET,
> + .len = 1,
> + },
> .chan = this->chan,
> },
> };
> @@ -655,13 +657,17 @@
> .beacon_period = 400,
> .dtim_period = 1,
> .ds_pset = {
> - .el.id = IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET,
> - .el.len = 1,
> + .el = {
> + .id = IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET,
> + .len = 1,
> + },
> .chan = this->chan,
> },
> .bss_basic_rset = {
> - .el.id = IW_MGMT_INFO_ELEMENT_SUPPORTED_RATES,
> - .el.len = 2,
> + .el = {
> + .id = IW_MGMT_INFO_ELEMENT_SUPPORTED_RATES,
> + .len = 2,
> + },
> .data_rate_labels = {
> [0] = IW_MGMT_RATE_LABEL_MANDATORY |
> IW_MGMT_RATE_LABEL_1MBIT,
> @@ -670,8 +676,10 @@
> },
> },
> .operational_rset = {
> - .el.id = IW_MGMT_INFO_ELEMENT_SUPPORTED_RATES,
> - .el.len = 2,
> + .el = {
> + .id = IW_MGMT_INFO_ELEMENT_SUPPORTED_RATES,
> + .len = 2,
> + },
> .data_rate_labels = {
> [0] = IW_MGMT_RATE_LABEL_MANDATORY |
> IW_MGMT_RATE_LABEL_1MBIT,
> @@ -680,8 +688,10 @@
> },
> },
> .ibss_pset = {
> - .el.id = IW_MGMT_INFO_ELEMENT_IBSS_PARAMETER_SET,
> - .el.len = 2,
> + .el = {
> + .id = IW_MGMT_INFO_ELEMENT_IBSS_PARAMETER_SET,
> + .len = 2,
> + },
> .atim_window = 10,
> },
> .bss_type = wl3501_fw_bss_type(this),
next prev parent reply other threads:[~2003-09-09 17:18 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-08 20:32 Linux 2.6.0-test5 Linus Torvalds
2003-09-08 23:04 ` [PATCH] " Jeff Garzik
2003-09-09 0:32 ` walt
2003-09-09 0:48 ` walt
2003-09-09 10:35 ` Mikael Pettersson
2003-09-09 0:04 ` Linux 2.6.0-test5 (compile stats) John Cherry
2003-09-09 0:13 ` John Cherry
2003-09-09 3:44 ` Jeff Garzik
[not found] ` <1063119969.1512.1.camel@cherrypit.pdx.osdl.net>
[not found] ` <20030909155118.GA18763@gtf.org>
2003-09-16 23:44 ` John Cherry
2003-09-09 11:38 ` [2.6 patch] fix nfs4xdr.c compile warning Adrian Bunk
2003-09-12 2:40 ` Neil Brown
2003-09-12 11:11 ` Adrian Bunk
2003-09-09 11:40 ` Linux 2.6.0-test5: serio config broken? Eyal Lebedinsky
2003-09-10 11:02 ` [patch] " Adrian Bunk
2003-09-10 13:23 ` Sytse Wielinga
2003-09-10 14:01 ` Russell King
2003-09-10 14:17 ` Adrian Bunk
2003-09-10 15:55 ` Tom Rini
2003-09-10 17:06 ` Adrian Bunk
2003-09-10 18:59 ` Tom Rini
2003-09-10 19:10 ` Adrian Bunk
2003-09-10 19:31 ` Tom Rini
2003-09-10 19:55 ` Adrian Bunk
2003-09-10 21:04 ` Tom Rini
2003-09-10 21:51 ` Adrian Bunk
2003-09-10 22:05 ` Tom Rini
2003-09-10 22:17 ` Adrian Bunk
2003-09-10 22:29 ` Tom Rini
2003-09-11 8:38 ` Roman Zippel
2003-09-11 23:04 ` Tom Rini
2003-09-12 11:09 ` Adrian Bunk
2003-09-12 14:52 ` Tom Rini
2003-09-12 15:04 ` Adrian Bunk
2003-09-12 15:09 ` Tom Rini
2003-09-12 16:57 ` Roman Zippel
2003-09-09 11:47 ` Linux 2.6.0-test5: ufs build fails Eyal Lebedinsky
2003-09-09 11:50 ` Linux 2.6.0-test5: ps2esdi (CONFIG_BLK_DEV_PS2) " Eyal Lebedinsky
2003-09-09 12:06 ` Linux 2.6.0-test5: CONFIG_COSA " Eyal Lebedinsky
2003-09-09 22:48 ` [PATCH] fix build of cosa Stephen Hemminger
2003-09-11 19:26 ` Jeff Garzik
2003-09-09 12:12 ` Linux 2.6.0-test5: CONFIG_PCMCIA_WL3501 build fails Eyal Lebedinsky
2003-09-09 12:28 ` Russell King
2003-09-09 17:13 ` Linus Torvalds
2003-09-09 17:19 ` Arnaldo Carvalho de Melo [this message]
2003-09-09 23:38 ` Eyal Lebedinsky
2003-09-09 12:27 ` Linux 2.6.0-test5: CONFIG_ATM_BR2684 " Eyal Lebedinsky
2003-09-09 16:18 ` Mitchell Blank Jr
2003-09-09 19:19 ` [2.6 patch] ATM Ambassador no longer BROKEN_ON_SMP Adrian Bunk
2003-09-10 16:57 ` 2.6.0-test5: ISDN kcapi.c no longer compiles Adrian Bunk
2003-09-14 17:40 ` Karsten Keil
2003-09-15 6:57 ` Karsten Keil
2003-09-15 15:52 ` Adrian Bunk
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=20030909171922.GE919@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=eyal@eyal.emu.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox