Re: [RFC PATCH v1 1/2] list: add type-safer list_head wrapper

From: Linus Torvalds
Date: Fri Mar 11 2022 - 18:47:40 EST


On Fri, Mar 11, 2022 at 3:45 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Yeah, not with the limitation that it only works on global list heads. [..]

"global" is the wrong word. Obviously it works on static list heads in
file - or even function - scope etc too. But you get what I'm saying..

Linus