summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
Commit message (Collapse)AuthorAgeFilesLines
* checkpatch: ignore request to use ether_addr_copy()Stephen Warren2016-01-251-0/+4
| | | | | | | | | | | | | | 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>
* checkpatch: add ignore for network block comment style checkingBo Shen2013-06-241-0/+3
| | | | | | | | | | | | | | 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>
* .checkpatch.conf: ignore udelay->usleep_range warningsMatt Porter2013-03-271-0/+3
| | | | | | | usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter <mporter@ti.com>
* tools: enable more checkpatch tests by defaultKim Phillips2013-03-111-0/+3
| | | | | | | 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>
* tools: checkpatch.pl from Linux added to toolsJoe Hershberger2011-11-171-0/+14
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>