mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mateusz Berezecki <mateuszb@gmail.com>
To: Michael Buesch <mbuesch@freenet.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	kernel-mentors@selenic.com
Subject: Re: kernel list / container_of aka list_entry question
Date: Sun, 25 Dec 2005 19:28:53 +0100	[thread overview]
Message-ID: <aec8d6fc0512251028v1338cc2cn2d8d58e4685c178@mail.gmail.com> (raw)
In-Reply-To: <200512251910.49869.mbuesch@freenet.de>

On 12/25/05, Michael Buesch <mbuesch@freenet.de> wrote:

> > >         list_for_each(iterator, &priv->rxbuf.list) {
> > >                 struct ath_buf *bf = list_entry(iterator, (struct ath_buf), list);
>                                                               ^              ^
> Remove the parenthesis.

yikes. that helped. but it's somewhat weird IMHO... why ((struct foo)
*) wont work?
and it needs to be (struct foo *) ?


kind regards,
Mateusz

  reply	other threads:[~2005-12-25 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-25 16:50 Mateusz Berezecki
2005-12-25 17:24 ` Fawad Lateef
2005-12-25 18:10   ` Michael Buesch
2005-12-25 18:28     ` Mateusz Berezecki [this message]
2005-12-25 18:55       ` Fawad Lateef
2005-12-25 18:30   ` Mateusz Berezecki

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=aec8d6fc0512251028v1338cc2cn2d8d58e4685c178@mail.gmail.com \
    --to=mateuszb@gmail.com \
    --cc=kernel-mentors@selenic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbuesch@freenet.de \
    /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

all inboxes | Powered by JetHome®