mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
ac01603da4
The Linux kernel, from which checkpatch originates, contains function ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns that it should be used in preference to memcpy() where appropriate. U-Boot doesn't contain ether_addr_copy(), so tell checkpatch not to issue this warning. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Anand Moon <linux.amoon@gmail.com>
27 lines
610 B
Text
27 lines
610 B
Text
# Not Linux, so don't expect a Linux tree.
|
|
--no-tree
|
|
|
|
# Temporary for false positive in checkpatch
|
|
--ignore COMPLEX_MACRO
|
|
|
|
# For CONFIG_SYS_I2C_NOPROBES
|
|
--ignore MULTISTATEMENT_MACRO_USE_DO_WHILE
|
|
|
|
# For simple_strtoul
|
|
--ignore CONSIDER_KSTRTO
|
|
|
|
# For min/max
|
|
--ignore MINMAX
|
|
|
|
# enable more tests
|
|
--strict
|
|
|
|
# Not Linux, so we don't recommend usleep_range() over udelay()
|
|
--ignore USLEEP_RANGE
|
|
|
|
# Ignore networking block comment style
|
|
--ignore NETWORKING_BLOCK_COMMENT_STYLE
|
|
|
|
# Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
|
|
# addresses are __aligned(2)".
|
|
--ignore PREFER_ETHER_ADDR_COPY
|