Re: [PATCH net-next 3/4] tools: ynl: stop find_kernel_root() spinning at the filesystem root
From: Jakub Kicinski
Date: Thu Sep 10 2026 - 22:34:23 EST
On Tue, 08 Sep 2026 19:45:09 -0400 Taylor Bates wrote:
> However, if it is run out-of-tree and does not find a MAINTAINERS
> file in any of the directories, find_kernel_root() reaches "/".
> Since os.path.dirname() is idempotent at "/", the while True: has no
> exit.
Not our intended use case, why would we care about people copying code
out of tree? if they do they can patch the generator as well.