Skip to content

Commit

Permalink
checkpatch: Ignore ENOSYS warnings
Browse files Browse the repository at this point in the history
There are no system calls in U-Boot, but ENOSYS is still allowed (and
preferred since 42a2668 ("dm: core: Document the common error codes")).
Silence this warning.

Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
Forty-Bot authored and trini committed Apr 22, 2021
1 parent 535e700 commit 6829d60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6829d60

Please sign in to comment.