]> www.infradead.org Git - nvme.git/commit
docs: netdev: document guidance on cleanup.h
authorJakub Kicinski <kuba@kernel.org>
Fri, 30 Aug 2024 17:14:42 +0000 (10:14 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Sep 2024 09:00:35 +0000 (11:00 +0200)
commitc82299fbbccecf5866bdc3fa9cc46d5c6f5005ad
treec5c5cf2966a10879a32747dd80a8621c622d38ac
parentf0417c50fddd628e534c336d87932e7e1e883df3
docs: netdev: document guidance on cleanup.h

Document what was discussed multiple times on list and various
virtual / in-person conversations. guard() being okay in functions
<= 20 LoC is a bit of my own invention. If the function is trivial
it should be fine, but feel free to disagree :)

We'll obviously revisit this guidance as time passes and we and other
subsystems get more experience.

Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20240830171443.3532077-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/process/maintainer-netdev.rst