checkpatch: Ignore ENOSYS warnings
PATCH v2 1/1 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 <[email protected]>
Reviewed-by Simon Glass <[email protected]>
---
Changes in v2:
- Removed accidentally-included tag
.checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+)
.checkpatch.conf +3 -0
@@ -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
Signature · 1 line
2.31.0
PATCH v2 1/1 checkpatch: Ignore ENOSYS warnings
Quoted 6 lines · Sean Anderson
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 <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210423/fa8678d8/attachment.sig>