From: Christoph Hellwig <hch@infradead.org>
To: Kees Cook <keescook@chromium.org>
Cc: Christoph Hellwig <hch@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Converting struct timer_list callback argument to struct timer_list *
Date: Sun, 3 Sep 2017 23:07:48 -0700 [thread overview]
Message-ID: <20170904060748.GC31083@infradead.org> (raw)
In-Reply-To: <CAGXu5jKk59gY43hhbpOKZxp14b3wawE2Epv0KcBLkfbkx=Sv9g@mail.gmail.com>
On Sun, Sep 03, 2017 at 01:18:44PM -0700, Kees Cook wrote:
> It feels weird to have different semantics from container_of() too, so
> I'll probably just switch everything around to be like all the others,
> in that they are just direct wrappers around container_of()... I'll
> settle on something and switch everything over.
I really like the idea of passing in a variable and not the type,
though. Maybe we need to add a new generic helper for that, I just
can't think of a good name.
prev parent reply other threads:[~2017-09-04 6:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 23:39 Converting struct timer_list callback argument to struct timer_list * Kees Cook
2017-08-31 20:13 ` Thomas Gleixner
2017-08-31 23:32 ` Kees Cook
2017-09-01 10:08 ` Christoph Hellwig
2017-09-01 10:21 ` Thomas Gleixner
2017-09-01 10:44 ` Christoph Hellwig
2017-09-01 16:24 ` Kees Cook
2017-09-03 7:37 ` Christoph Hellwig
2017-09-03 20:18 ` Kees Cook
2017-09-04 6:07 ` 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=20170904060748.GC31083@infradead.org \
--to=hch@infradead.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.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