summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.sh
AgeCommit message (Collapse)Author
2018-10-24auto-locate checkpatchMarkus S. Wamser
Try to locate checkpatch.pl in typical location(s) if environment variable CHECKPATCH is not set. The launch script first tries to find checkpatch.pl on the path, next it checks typical locations for linux headers, finally it tries to locate linux sources used for OP-TEE in with QEMU. The first match is used as the checkpatch instance to be invoked. Signed-off-by: Markus S. Wamser <markus.wamser@mixed-mode.de> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
2017-02-23checkpatch: accept several commitsJerome Forissier
If several commit IDs are passed to the script, process them in order. This helps check several commits in a development branch, for instance: ./scripts/checkpatch.sh `git rev-list master..HEAD` Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
2016-11-04scripts: add wrapper script for checkpatchIgor Opaniuk
Add auxilary wrapper for convenient check of commit/ changes in staging area/multiple commits with checkpatch.pl Put common functions for .travis.yml and checkpatch.sh into a separate file Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>