Skip to content

Commit 2a0b726

Browse files
eberman-quicojeda
authored andcommitted
clang-format: Add maple tree's for_each macros
Add maple tree's for_each macros so clang-format operates correctly on {mt,mas}_for_each. Signed-off-by: Elliot Berman <quic_eberman@quicinc.com> Link: https://lore.kernel.org/r/20231208-clang-format-mt-for-each-v1-1-b4b73186b886@quicinc.com [ Sorted properly. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 33cc938 commit 2a0b726

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,14 @@ ForEachMacros:
494494
- 'map_for_each_metric'
495495
- 'maps__for_each_entry'
496496
- 'maps__for_each_entry_safe'
497+
- 'mas_for_each'
497498
- 'mci_for_each_dimm'
498499
- 'media_device_for_each_entity'
499500
- 'media_device_for_each_intf'
500501
- 'media_device_for_each_link'
501502
- 'media_device_for_each_pad'
502503
- 'msi_for_each_desc'
504+
- 'mt_for_each'
503505
- 'nanddev_io_for_each_page'
504506
- 'netdev_for_each_lower_dev'
505507
- 'netdev_for_each_lower_private'

0 commit comments

Comments
 (0)