[PATCH 2/6] treewide: remove using list iterator after loop body as a ptr
Linus Torvalds
torvalds at linux-foundation.org
Mon Feb 28 16:57:46 PST 2022
On Mon, Feb 28, 2022 at 4:45 PM Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> Yeah, except that's ugly beyond belief, plus it's literally not what
> we do in the kernel.
(Of course, I probably shouldn't have used 'min()' as an example,
because that is actually one of the few places where we do exactly
that, using our __UNIQUE_ID() macros. Exactly because people _have_
tried to do -Wshadow when doing W=2).
Linus
More information about the Linux-mediatek
mailing list