From: Christoph Hellwig <hch@infradead.org>
To: blaisorblade_spam@yahoo.it
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [patch 1/1] use offsetof for rb_entry
Date: Thu, 7 Oct 2004 22:27:33 +0100 [thread overview]
Message-ID: <20041007222733.A18083@infradead.org> (raw)
In-Reply-To: <20041007175343.AE28944CD@zion.localdomain>; from blaisorblade_spam@yahoo.it on Thu, Oct 07, 2004 at 07:53:42PM +0200
On Thu, Oct 07, 2004 at 07:53:42PM +0200, blaisorblade_spam@yahoo.it wrote:
>
> Use, in the rb_entry definition, the offsetof macro instead of reinventing the
> wheel.
Or just use container_of - which has the additional benefit of beeing typesafe.
prev parent reply other threads:[~2004-10-07 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 17:53 blaisorblade_spam
2004-10-07 21:27 ` Christoph Hellwig [this message]
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=20041007222733.A18083@infradead.org \
--to=hch@infradead.org \
--cc=akpm@osdl.org \
--cc=blaisorblade_spam@yahoo.it \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome