summaryrefslogtreecommitdiff
path: root/tools/checkpatch.pl
AgeCommit message (Collapse)Author
2013-12-13Makefile: Move some scripts imported from LinuxMasahiro Yamada
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>
2013-09-20boards.cfg: show info about boards.cfg instead of MAINTAINERSRoger Meier
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2013-06-06checkpatch.pl: Add 'printf' to logFunctionsTom Rini
Signed-off-by: Tom Rini <trini@ti.com>
2013-03-27checkpatch.pl: Add 'debug' to the list of logFunctionsTom Rini
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>
2013-03-11tools: update checkpatch to latest upstream versionKim Phillips
i.e., from the linux kernel's commit be987d9f80354e2e919926349282facd74992f90 Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2012-06-21checkpatch: add check for whitespace before semicolon at end-of-lineEric Nelson
This tests for a bad habits of mine like this: return 0 ; Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.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>