mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 16:17:38 +00:00
tools/checkpatch.pl: recognize _Atomic as modifier
checkpatch is slightly confused by _Atomic, causing some spurious warnings. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
64777f5d87
commit
c5d580fbc7
@ -359,6 +359,7 @@ our $InitAttribute = qr{$InitAttributeData|$InitAttributeConst|$InitAttributeIni
|
||||
# We need \b after 'init' otherwise 'initconst' will cause a false positive in a check
|
||||
our $Attribute = qr{
|
||||
const|
|
||||
_Atomic|
|
||||
__percpu|
|
||||
__nocast|
|
||||
__safe|
|
||||
|
Loading…
Reference in New Issue
Block a user