Commit cd87c4e3ef7cbd554d17e9676b8bb223ea2e2748
1 parent
7dd97af523
Exists in
smarc_8mq_lf_v2020.04
and in
19 other branches
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. Signed-off-by: Tom Rini <trini@konsulko.com>
Showing 1 changed file with 3 additions and 0 deletions Inline Diff
.checkpatch.conf
1 | # Not Linux, so don't expect a Linux tree. | 1 | # Not Linux, so don't expect a Linux tree. |
2 | --no-tree | 2 | --no-tree |
3 | 3 | ||
4 | # Temporary for false positive in checkpatch | 4 | # Temporary for false positive in checkpatch |
5 | --ignore COMPLEX_MACRO | 5 | --ignore COMPLEX_MACRO |
6 | 6 | ||
7 | # For CONFIG_SYS_I2C_NOPROBES | 7 | # For CONFIG_SYS_I2C_NOPROBES |
8 | --ignore MULTISTATEMENT_MACRO_USE_DO_WHILE | 8 | --ignore MULTISTATEMENT_MACRO_USE_DO_WHILE |
9 | 9 | ||
10 | # For simple_strtoul | 10 | # For simple_strtoul |
11 | --ignore CONSIDER_KSTRTO | 11 | --ignore CONSIDER_KSTRTO |
12 | 12 | ||
13 | # For min/max | 13 | # For min/max |
14 | --ignore MINMAX | 14 | --ignore MINMAX |
15 | 15 | ||
16 | # enable more tests | 16 | # enable more tests |
17 | --strict | 17 | --strict |
18 | 18 | ||
19 | # Not Linux, so we don't recommend usleep_range() over udelay() | 19 | # Not Linux, so we don't recommend usleep_range() over udelay() |
20 | --ignore USLEEP_RANGE | 20 | --ignore USLEEP_RANGE |
21 | 21 | ||
22 | # Ignore networking block comment style | 22 | # Ignore networking block comment style |
23 | --ignore NETWORKING_BLOCK_COMMENT_STYLE | 23 | --ignore NETWORKING_BLOCK_COMMENT_STYLE |
24 | 24 | ||
25 | # Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet | 25 | # Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet |
26 | # addresses are __aligned(2)". | 26 | # addresses are __aligned(2)". |
27 | --ignore PREFER_ETHER_ADDR_COPY | 27 | --ignore PREFER_ETHER_ADDR_COPY |
28 | |||
29 | # A bit shorter of a description is OK with us. | ||
30 | --min-conf-desc-length=2 | ||
28 | 31 |