]> git.ipfire.org Git - thirdparty/systemd.git/commit
CODING_STYLE: document how to handle kernel compat
authorLennart Poettering <lennart@amutable.com>
Fri, 6 Feb 2026 11:15:23 +0000 (12:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 Feb 2026 20:01:37 +0000 (21:01 +0100)
commit43ef7c944c8263ca14a4a9f5a9c75a6ac372a64c
tree94654161ac22f9b184eba7b575a7a26658c2dedd
parent0c9de6daee41658139c9a2319a9c3b97bdc06471
CODING_STYLE: document how to handle kernel compat

Let's define a way how to mark codepaths that are subject to
deletion once the kernel baseline reaches a certain version, to make it
easier to find these cases.

WHile we are at it, introuce a whole section in CODING_STYLE about
kernel version compat.

I followed the new scheme in #39621, but we can merge the coding style
guidelines on this already.
docs/CODING_STYLE.md