From 4d58a94cd80eb46d5deb98989d82c683a3f7e199 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Thu, 11 Nov 2021 15:26:39 +0100 Subject: [PATCH] docs/checksrc: Add documentation for STRERROR Closes #7991 --- docs/CHECKSRC.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/CHECKSRC.md b/docs/CHECKSRC.md index 97300112b6..0d0e796e68 100644 --- a/docs/CHECKSRC.md +++ b/docs/CHECKSRC.md @@ -130,11 +130,13 @@ the directory where they should be activated with commands to enable the warnings you are interested in. The format of the file is to enable one warning per line like so: `enable ` -Currently there is one extended warning which can be enabled: +Currently these are the extended warnings which can be enabled: - `COPYRIGHTYEAR`: the current changeset has not updated the copyright year in the source file +- `STRERROR`: use of banned function strerror() + ## Ignore certain warnings Due to the nature of the source code and the flaws of the checksrc tool, there -- 2.47.3