aboutsummaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorSean Anderson2021-04-14 22:02:21 -0400
committerTom Rini2021-04-22 14:09:45 -0400
commit6829d60702706b95a7271fbf3db1981c7ce9e6b5 (patch)
tree208c8634913967acad479767f9aa17cd01c520b5 /.checkpatch.conf
parent535e700b9db908e0b1afba7719090e315299b9c2 (diff)
checkpatch: Ignore ENOSYS warnings
There are no system calls in U-Boot, but ENOSYS is still allowed (and preferred since 42a2668743 ("dm: core: Document the common error codes")). Silence this warning. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index ed0c2150ba8..9e40ea060be 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -26,6 +26,9 @@
# addresses are __aligned(2)".
--ignore PREFER_ETHER_ADDR_COPY
+# ENOSYS is a conventionally used error, even though U-Boot lacks system calls.
+--ignore ENOSYS
+
# A bit shorter of a description is OK with us.
--min-conf-desc-length=2