News for hackers. Stuff that matters.
Re:Moving the Linux Kernel to Modern C by thetic on Thursday February 24, 2022 @06:43PM (#30461924)
Sure. This may not be a feasible approach for this case. I'm just pointing out alternative approaches to mitigate this kind of scoping problem in C89. Maybe wrap every use of list_for_each_entry in braces?

    {
        list_for_each_entry(...)
    }

There are no comments on this comment yet.