Skip to content

Commit 8821789

Browse files
committed
clang-format: Update with v5.18-rc7's for_each macro list
Re-run the shell fragment that generated the original list. This brings it up to date, so that the next patches that tweak it further are more clear on what they change. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 42226c9 commit 8821789

1 file changed

Lines changed: 32 additions & 13 deletions

File tree

.clang-format

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,13 @@ ForEachMacros:
8181
- '__bio_for_each_bvec'
8282
- 'bio_for_each_bvec'
8383
- 'bio_for_each_bvec_all'
84+
- 'bio_for_each_folio_all'
8485
- 'bio_for_each_integrity_vec'
8586
- '__bio_for_each_segment'
8687
- 'bio_for_each_segment'
8788
- 'bio_for_each_segment_all'
8889
- 'bio_list_for_each'
8990
- 'bip_for_each_vec'
90-
- 'bitmap_for_each_clear_region'
91-
- 'bitmap_for_each_set_region'
92-
- 'blkg_for_each_descendant_post'
93-
- 'blkg_for_each_descendant_pre'
94-
- 'blk_queue_for_each_rl'
9591
- 'bond_for_each_slave'
9692
- 'bond_for_each_slave_rcu'
9793
- 'bpf_for_each_spilled_reg'
@@ -102,16 +98,27 @@ ForEachMacros:
10298
- 'card_for_each_dev'
10399
- 'cgroup_taskset_for_each'
104100
- 'cgroup_taskset_for_each_leader'
101+
- 'cpufreq_for_each_efficient_entry_idx'
105102
- 'cpufreq_for_each_entry'
106103
- 'cpufreq_for_each_entry_idx'
107104
- 'cpufreq_for_each_valid_entry'
108105
- 'cpufreq_for_each_valid_entry_idx'
109106
- 'css_for_each_child'
110107
- 'css_for_each_descendant_post'
111108
- 'css_for_each_descendant_pre'
109+
- 'damon_for_each_region'
110+
- 'damon_for_each_region_safe'
111+
- 'damon_for_each_scheme'
112+
- 'damon_for_each_scheme_safe'
113+
- 'damon_for_each_target'
114+
- 'damon_for_each_target_safe'
112115
- 'device_for_each_child_node'
113116
- 'displayid_iter_for_each'
117+
- 'dma_fence_array_for_each'
114118
- 'dma_fence_chain_for_each'
119+
- 'dma_fence_unwrap_for_each'
120+
- 'dma_resv_for_each_fence'
121+
- 'dma_resv_for_each_fence_unlocked'
115122
- 'do_for_each_ftrace_op'
116123
- 'drm_atomic_crtc_for_each_plane'
117124
- 'drm_atomic_crtc_state_for_each_plane'
@@ -135,6 +142,13 @@ ForEachMacros:
135142
- 'drm_mm_for_each_node'
136143
- 'drm_mm_for_each_node_in_range'
137144
- 'drm_mm_for_each_node_safe'
145+
- 'dsa_switch_for_each_available_port'
146+
- 'dsa_switch_for_each_cpu_port'
147+
- 'dsa_switch_for_each_port'
148+
- 'dsa_switch_for_each_port_continue_reverse'
149+
- 'dsa_switch_for_each_port_safe'
150+
- 'dsa_switch_for_each_user_port'
151+
- 'dsa_tree_for_each_user_port'
138152
- 'flow_action_for_each'
139153
- 'for_each_acpi_dev_match'
140154
- 'for_each_active_dev_scope'
@@ -159,6 +173,8 @@ ForEachMacros:
159173
- 'for_each_child_of_node'
160174
- 'for_each_clear_bit'
161175
- 'for_each_clear_bit_from'
176+
- 'for_each_clear_bitrange'
177+
- 'for_each_clear_bitrange_from'
162178
- 'for_each_cmsghdr'
163179
- 'for_each_compatible_node'
164180
- 'for_each_component_dais'
@@ -179,7 +195,6 @@ ForEachMacros:
179195
- 'for_each_dpcm_fe'
180196
- 'for_each_drhd_unit'
181197
- 'for_each_dss_dev'
182-
- 'for_each_dtpm_table'
183198
- 'for_each_efi_memory_desc'
184199
- 'for_each_efi_memory_desc_in_map'
185200
- 'for_each_element'
@@ -206,16 +221,13 @@ ForEachMacros:
206221
- 'for_each_matching_node'
207222
- 'for_each_matching_node_and_match'
208223
- 'for_each_member'
209-
- 'for_each_memcg_cache_index'
210224
- 'for_each_mem_pfn_range'
211225
- '__for_each_mem_range'
212226
- 'for_each_mem_range'
213227
- '__for_each_mem_range_rev'
214228
- 'for_each_mem_range_rev'
215229
- 'for_each_mem_region'
216230
- 'for_each_migratetype_order'
217-
- 'for_each_msi_entry'
218-
- 'for_each_msi_entry_safe'
219231
- 'for_each_net'
220232
- 'for_each_net_continue_reverse'
221233
- 'for_each_netdev'
@@ -232,6 +244,7 @@ ForEachMacros:
232244
- 'for_each_new_crtc_in_state'
233245
- 'for_each_new_mst_mgr_in_state'
234246
- 'for_each_new_plane_in_state'
247+
- 'for_each_new_plane_in_state_reverse'
235248
- 'for_each_new_private_obj_in_state'
236249
- 'for_each_node'
237250
- 'for_each_node_by_name'
@@ -261,7 +274,6 @@ ForEachMacros:
261274
- 'for_each_online_pgdat'
262275
- 'for_each_pci_bridge'
263276
- 'for_each_pci_dev'
264-
- 'for_each_pci_msi_entry'
265277
- 'for_each_pcm_streams'
266278
- 'for_each_physmem_range'
267279
- 'for_each_populated_zone'
@@ -289,6 +301,8 @@ ForEachMacros:
289301
- 'for_each_rtd_dais'
290302
- 'for_each_set_bit'
291303
- 'for_each_set_bit_from'
304+
- 'for_each_set_bitrange'
305+
- 'for_each_set_bitrange_from'
292306
- 'for_each_set_clump8'
293307
- 'for_each_sg'
294308
- 'for_each_sg_dma_page'
@@ -346,16 +360,15 @@ ForEachMacros:
346360
- 'hlist_nulls_for_each_entry_safe'
347361
- 'i3c_bus_for_each_i2cdev'
348362
- 'i3c_bus_for_each_i3cdev'
349-
- 'ide_host_for_each_port'
350-
- 'ide_port_for_each_dev'
351-
- 'ide_port_for_each_present_dev'
352363
- 'idr_for_each_entry'
353364
- 'idr_for_each_entry_continue'
354365
- 'idr_for_each_entry_continue_ul'
355366
- 'idr_for_each_entry_ul'
356367
- 'in_dev_for_each_ifa_rcu'
357368
- 'in_dev_for_each_ifa_rtnl'
358369
- 'inet_bind_bucket_for_each'
370+
- 'inet_lhash2_for_each_icsk'
371+
- 'inet_lhash2_for_each_icsk_continue'
359372
- 'inet_lhash2_for_each_icsk_rcu'
360373
- 'key_for_each'
361374
- 'key_for_each_safe'
@@ -367,6 +380,7 @@ ForEachMacros:
367380
- 'klp_for_each_object_static'
368381
- 'kunit_suite_for_each_test_case'
369382
- 'kvm_for_each_memslot'
383+
- 'kvm_for_each_memslot_in_gfn_range'
370384
- 'kvm_for_each_vcpu'
371385
- 'list_for_each'
372386
- 'list_for_each_codec'
@@ -399,6 +413,7 @@ ForEachMacros:
399413
- 'media_device_for_each_intf'
400414
- 'media_device_for_each_link'
401415
- 'media_device_for_each_pad'
416+
- 'msi_for_each_desc'
402417
- 'nanddev_io_for_each_page'
403418
- 'netdev_for_each_lower_dev'
404419
- 'netdev_for_each_lower_private'
@@ -458,6 +473,8 @@ ForEachMacros:
458473
- '__rq_for_each_bio'
459474
- 'rq_for_each_bvec'
460475
- 'rq_for_each_segment'
476+
- 'rq_list_for_each'
477+
- 'rq_list_for_each_safe'
461478
- 'scsi_for_each_prot_sg'
462479
- 'scsi_for_each_sg'
463480
- 'sctp_for_each_hentry'
@@ -481,6 +498,7 @@ ForEachMacros:
481498
- 'snd_soc_dapm_widget_for_each_sink_path'
482499
- 'snd_soc_dapm_widget_for_each_source_path'
483500
- 'tb_property_for_each'
501+
- 'tcf_act_for_each_action'
484502
- 'tcf_exts_for_each_action'
485503
- 'udp_portaddr_for_each_entry'
486504
- 'udp_portaddr_for_each_entry_rcu'
@@ -504,6 +522,7 @@ ForEachMacros:
504522
- 'xbc_node_for_each_array_value'
505523
- 'xbc_node_for_each_child'
506524
- 'xbc_node_for_each_key_value'
525+
- 'xbc_node_for_each_subkey'
507526
- 'zorro_for_each_dev'
508527

509528
#IncludeBlocks: Preserve # Unknown to clang-format-5.0

0 commit comments

Comments
 (0)