Skip to content

Commit

Permalink
clang-format: Add maple tree's for_each macros
Browse files Browse the repository at this point in the history
Add maple tree's for_each macros so clang-format operates correctly on
{mt,mas}_for_each.

Signed-off-by: Elliot Berman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Sorted properly. ]
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
eberman-quic authored and ojeda committed Dec 8, 2023
1 parent 33cc938 commit 2a0b726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,14 @@ ForEachMacros:
- 'map_for_each_metric'
- 'maps__for_each_entry'
- 'maps__for_each_entry_safe'
- 'mas_for_each'
- 'mci_for_each_dimm'
- 'media_device_for_each_entity'
- 'media_device_for_each_intf'
- 'media_device_for_each_link'
- 'media_device_for_each_pad'
- 'msi_for_each_desc'
- 'mt_for_each'
- 'nanddev_io_for_each_page'
- 'netdev_for_each_lower_dev'
- 'netdev_for_each_lower_private'
Expand Down

0 comments on commit 2a0b726

Please sign in to comment.