[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170904060748.GC31083@infradead.org>
Date: Sun, 3 Sep 2017 23:07:48 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Kees Cook <keescook@...omium.org>
Cc: Christoph Hellwig <hch@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Converting struct timer_list callback argument to struct
timer_list *
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.
Powered by blists - more mailing lists