Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TAILQ_ENTRY() to typedefs.checkpatch
When using BSD queues from <sys/queues.h>, a queue entry is declared with a macro: TAILQ_ENTRY(type) var; This makes checkpatch.pl unhappy because the type is unknown: WARNING: Missing a blank line after declarations OP-TEE#52: FILE: core/arch/arm/include/mm/tee_pager.h:32: + struct pgt *pgt; + TAILQ_ENTRY(tee_pager_area) link; This patch adds a regular expression to typedefs.chackpatch that matches the macro part, thus fixing the warning. Signed-off-by: Jerome Forissier <[email protected]> Reviewed-by: Jens Wiklander <[email protected]>
- Loading branch information