You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add STAILQ_HEAD() and STAILQ_ENTRY() to typedefs.checkpatch
When using BSD queues from <sys/queues.h>, a singly linked tail queue
entry is declared with a macro:
STAILQ_ENTRY(type) var;
This makes checkpatch.pl unhappy because the type is unknown:
WARNING: Missing a blank line after declarations
+ struct file *file;
+ STAILQ_ENTRY(load_seg) link;
Checkpatch has the same problem with the macro STAILQ_HEAD().
This patch adds a regular expression to typedefs.checkpatch that
matches the macro part, thus fixing the warning.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
0 commit comments