On Sunday 25 December 2005 18:24, you wrote: > > The second question is why the following code generates errors > > during compilation. list.h header file is included. > > > > struct atheros_priv *priv = ieee80211_priv(dev); /* line number 141 */ > > struct list_head *iterator; > > > > > > list_for_each(iterator, &priv->rxbuf.list) { > > struct ath_buf *bf = list_entry(iterator, (struct ath_buf), list); ^ ^ Remove the parenthesis. -- Greetings Michael.
Attachment:
pgpvLCSQGQioA.pgp
Description: PGP signature
- Follow-Ups:
- Re: kernel list / container_of aka list_entry question
- From: Mateusz Berezecki <[email protected]>
- Re: kernel list / container_of aka list_entry question
- References:
- kernel list / container_of aka list_entry question
- From: Mateusz Berezecki <[email protected]>
- Re: kernel list / container_of aka list_entry question
- From: Fawad Lateef <[email protected]>
- kernel list / container_of aka list_entry question
- Prev by Date: [PATCH] lib: zlib_inflate "r.base" uninitialized compile warnings
- Next by Date: Re: kernel list / container_of aka list_entry question
- Previous by thread: Re: kernel list / container_of aka list_entry question
- Next by thread: Re: kernel list / container_of aka list_entry question
- Index(es):