Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take some GP types into account when running patch check tool
When running checkpatch on the OP-TEE code, for instance during the Travis checks, it happens that we get false warnings and errors caused by the use of GlobalPlatform typedefs. In the following example, the patch introduces pointers to functions returning TEE_Result, but checkpatch won't accept it as a valid type: $ ./scripts/checkpatch.sh d776721 | tail -1 total: 1 errors, 5 warnings, 555 lines checked To address such issues, declare our custom types in a local file (typedefs.checkpatch) and use the new --typedefsfile option provided by checkpatch.pl. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
- Loading branch information