Skip to contentSkip to conversation

checkpatch: Ignore 'short' Kconfig help entries

PATCH In review Tom Rini 1 participant 2 messages Jan 15, 2018 – Jan 19, 2018

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 checkpatch: Ignore 'short' Kconfig help entries

A 2 line help entry for a new Kconfig entry is, at this time, sufficient in some cases, so lets drop that warning for now.

---
 .checkpatch.conf | 3 +++
 1 file changed, 3 insertions(+)
.checkpatch.conf +3 -0
index d1d32fac9db5..95f19635d35a 100644
@@ -25,3 +25,6 @@
 # Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
 # addresses are __aligned(2)".
 --ignore PREFER_ETHER_ADDR_COPY
+
+# A bit shorter of a description is OK with us.
+--min-conf-desc-length=2
Signature · 1 line
2.7.4
author
#1 lore raw
Quoted 4 lines · Tom Rini

A 2 line help entry for a new Kconfig entry is, at this time, sufficient in some cases, so lets drop that warning for now.

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: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180119/aa6db6a2/attachment.sig>