summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
AgeCommit message (Collapse)Author
2016-01-25checkpatch: ignore request to use ether_addr_copy()Stephen Warren
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>
2013-06-25checkpatch: add ignore for network block comment style checkingBo Shen
When use checkpatch.pl to check network related patch, it will report --->8--- WARNING: networking block comments don't use an empty /* line, use /* Comment... ---<8--- So, add --ignore NETWORKING_BLOCK_COMMENT_STYLE into .checkpatch.conf This will help to keep all driver include network related driver use the same comment style Signed-off-by: Bo Shen <voice.shen@atmel.com>
2013-03-27.checkpatch.conf: ignore udelay->usleep_range warningsMatt Porter
usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter <mporter@ti.com>
2013-03-11tools: enable more checkpatch tests by defaultKim Phillips
without this, patches don't get checked for proper alignment, and e.g., for spaces after a cast and/or before a semicolon. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2011-11-17tools: checkpatch.pl from Linux added to toolsJoe Hershberger
Added from Linux - commit 30ecad51849ae132dc6ef6ddb62d499c7257515b Include config file to ignore common false-positives Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de>