scripts/lib/kdoc/kdoc_files.py: don't try to join None
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 15 Apr 2025 03:12:48 +0000 (11:12 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 21 Apr 2025 16:39:17 +0000 (10:39 -0600)
commit439111ee0cefe434788802237673c9a37f6b6d04
tree9af755999a25bb4cf7e2ff5c3bae79ecbca0ab18
parentf0ba72e65516d1d86f40c79a49c4ba01c9555592
scripts/lib/kdoc/kdoc_files.py: don't try to join None

If out_msg() returns None, it means that an unknown declaration
was found. Avoid letting the script crash on such case.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/4334d16f14cfd93e611b290fb56c35d236cadcb7.1744685912.git.mchehab+huawei@kernel.org
scripts/lib/kdoc/kdoc_files.py