summaryrefslogtreecommitdiff
path: root/tools/checkpatch.pl
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-07-08 23:11:15 -0400
committerChristian Hopps <chopps@labn.net>2023-11-06 17:44:58 -0500
commita65cda16b28bc84b052636118823082de9600cfc (patch)
tree975a1abb64919cc9a9c201b8c50ef7602bd72483 /tools/checkpatch.pl
parente1b2381f40132650f1c0a2285432c0d00aef7383 (diff)
mgmtd: simplify xpath registries
- move from client id indexed array of uints for register info per client to a u64 bitmask. - add bit walking FOREACH macro Walk the client IDs whose bits are set in a mask. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tools/checkpatch.pl')
-rwxr-xr-xtools/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index d007c1d325..3e8a6b392a 100755
--- a/tools/checkpatch.pl
+++ b/tools/checkpatch.pl
@@ -563,6 +563,7 @@ our $Iterators = qr{
SUBGRP_FOREACH_PEER|SUBGRP_FOREACH_PEER_SAFE|
SUBGRP_FOREACH_ADJ|SUBGRP_FOREACH_ADJ_SAFE|
AF_FOREACH|FOREACH_AFI_SAFI|FOREACH_SAFI|
+ FOREACH_BE_CLIENT_BITS|FOREACH_MGMTD_BE_CLIENT_ID|
LSDB_LOOP
}x;