summaryrefslogtreecommitdiff
path: root/tools/checkpatch.pl
Commit message (Collapse)AuthorAgeLines
* Makefile: Move some scripts imported from LinuxMasahiro Yamada2013-12-13-3709/+0
| | | | | | | | | | | | | | | | | We have some scripts imported from Linux Kernel: setlocalversion, checkstack.pl, checkpatch.pl, cleanpatch They are located under tools/ directory in U-Boot now. But they were originally located under scripts/ directory in Linux Kernel. This commit moves them to the original location. It is true that binutils-version.sh and dtc-version.sh do not originate in Linux Kernel, but they should be moved by analogy to gcc-version.sh. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
* boards.cfg: show info about boards.cfg instead of MAINTAINERSRoger Meier2013-09-20-2/+2
| | | | Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
* 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>