Skip to content
Commit 3a0a5821 authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

scripts/coccinelle: updates and improvements for integer timeout values



Add support for the report and patch modes so this can be invoked by
coccicheck.

Use PCRE options to make the kernel timeout API identifier rule more
readable.  Extend the pattern to new API.

Use rule extends and depends clauses, and pattern disjunction, to
avoid replicating metavariable content.

Hint that using --include-headers may be helpful (some patterns can be
found in static inline functions).

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 7c32bfa6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment