summaryrefslogtreecommitdiff
path: root/tools/checkpatch.pl
Commit message (Collapse)AuthorAgeLines
* checkpatch.pl: Add 'printf' to logFunctionsTom Rini2013-06-06-0/+1
| | | | Signed-off-by: Tom Rini <trini@ti.com>
* checkpatch.pl: Add 'debug' to the list of logFunctionsTom Rini2013-03-27-0/+1
| | | | | | | | While the kernel mainly uses pr_debug(...), etc, for debug messages, we use debug(...). Add this to the list of logFunctions so that they are correctly checked (and not warned against) for long string literals. Signed-off-by: Tom Rini <trini@ti.com>
* tools: update checkpatch to latest upstream versionKim Phillips2013-03-11-192/+556
| | | | | | | i.e., from the linux kernel's commit be987d9f80354e2e919926349282facd74992f90 Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* checkpatch: add check for whitespace before semicolon at end-of-lineEric Nelson2012-06-21-0/+6
| | | | | | | | This tests for a bad habits of mine like this: return 0 ; Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
* tools: checkpatch.pl from Linux added to toolsJoe Hershberger2011-11-17-0/+3337
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>