Home
last modified time | relevance | path

Searched hist:"7 decbaae19146fafc0a6284463d2292932d29920" (Results 1 – 1 of 1) sorted by relevance

/optee_os/
H A Dtypedefs.checkpatch7decbaae19146fafc0a6284463d2292932d29920 Fri Apr 26 18:03:00 UTC 2019 Jerome Forissier <jerome.forissier@linaro.org> 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
#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 <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>