News for hackers. Stuff that matters.
Re:Red Hat reports security issue in Linux Kernel which was ... by orf on Tuesday June 23, 2020 @02:11PM (#23617882)
Isn’t the whole autoconf stuff supposed to avoid the need for if macro soup, by using feature detection?
Re:Red Hat reports security issue in Linux Kernel which was ... by iforgotpassword on Tuesday June 23, 2020 @02:18PM (#23617991)
There would be cleaner ways to achieve this, maybe not specifically autoconf since I think that's more tailored towards "normal" (user space) stuff.

Macros are convenient to quickly check the version in your code without adding another layer of tooling... Until you end up with said macro soup of course.

It's actually a legacy module we're about to phase out for 5.x so don't worry too much. The new and shiny replacement will probably use git branches for whenever something changes.