]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc: avoid error_count overflows
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 19 Jan 2026 12:04:57 +0000 (13:04 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Jan 2026 22:31:05 +0000 (15:31 -0700)
commit802774d8539fa73487190ec45438777a3c38d424
tree9db8f7f545ebd29fe918862691c9e901a3789a51
parent292eca3163218f2185a8eabe59f4a576bb9e05f8
docs: kdoc: avoid error_count overflows

The glibc library limits the return code to 8 bits. We need to
stick to this limit when using sys.exit(error_count).

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <233d1674db99ed8feb405a2f781de350f0fba0ac.1768823489.git.mchehab+huawei@kernel.org>
scripts/kernel-doc.py