Messages in this thread | | | From | Michael Buesch <> | Subject | Re: kernel list / container_of aka list_entry question | Date | Sun, 25 Dec 2005 19:10:49 +0100 |
| |
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. [unhandled content-type:application/pgp-signature] | |