hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/.clang-format
....@@ -72,19 +72,29 @@
7272 - 'apei_estatus_for_each_section'
7373 - 'ata_for_each_dev'
7474 - 'ata_for_each_link'
75
+ - '__ata_qc_for_each'
76
+ - 'ata_qc_for_each'
77
+ - 'ata_qc_for_each_raw'
78
+ - 'ata_qc_for_each_with_internal'
7579 - 'ax25_for_each'
7680 - 'ax25_uid_for_each'
81
+ - '__bio_for_each_bvec'
82
+ - 'bio_for_each_bvec'
83
+ - 'bio_for_each_bvec_all'
7784 - 'bio_for_each_integrity_vec'
7885 - '__bio_for_each_segment'
7986 - 'bio_for_each_segment'
8087 - 'bio_for_each_segment_all'
8188 - 'bio_list_for_each'
8289 - 'bip_for_each_vec'
90
+ - 'bitmap_for_each_clear_region'
91
+ - 'bitmap_for_each_set_region'
8392 - 'blkg_for_each_descendant_post'
8493 - 'blkg_for_each_descendant_pre'
8594 - 'blk_queue_for_each_rl'
8695 - 'bond_for_each_slave'
8796 - 'bond_for_each_slave_rcu'
97
+ - 'bpf_for_each_spilled_reg'
8898 - 'btree_for_each_safe128'
8999 - 'btree_for_each_safe32'
90100 - 'btree_for_each_safe64'
....@@ -100,9 +110,16 @@
100110 - 'css_for_each_descendant_post'
101111 - 'css_for_each_descendant_pre'
102112 - 'device_for_each_child_node'
113
+ - 'dma_fence_chain_for_each'
114
+ - 'do_for_each_ftrace_op'
103115 - 'drm_atomic_crtc_for_each_plane'
104116 - 'drm_atomic_crtc_state_for_each_plane'
105117 - 'drm_atomic_crtc_state_for_each_plane_state'
118
+ - 'drm_atomic_for_each_plane_damage'
119
+ - 'drm_client_for_each_connector_iter'
120
+ - 'drm_client_for_each_modeset'
121
+ - 'drm_connector_for_each_possible_encoder'
122
+ - 'drm_for_each_bridge_in_chain'
106123 - 'drm_for_each_connector_iter'
107124 - 'drm_for_each_crtc'
108125 - 'drm_for_each_encoder'
....@@ -111,36 +128,66 @@
111128 - 'drm_for_each_legacy_plane'
112129 - 'drm_for_each_plane'
113130 - 'drm_for_each_plane_mask'
131
+ - 'drm_for_each_privobj'
114132 - 'drm_mm_for_each_hole'
115133 - 'drm_mm_for_each_node'
116134 - 'drm_mm_for_each_node_in_range'
117135 - 'drm_mm_for_each_node_safe'
136
+ - 'flow_action_for_each'
137
+ - 'for_each_active_dev_scope'
118138 - 'for_each_active_drhd_unit'
119139 - 'for_each_active_iommu'
140
+ - 'for_each_aggr_pgid'
120141 - 'for_each_available_child_of_node'
121142 - 'for_each_bio'
122143 - 'for_each_board_func_rsrc'
123144 - 'for_each_bvec'
145
+ - 'for_each_card_auxs'
146
+ - 'for_each_card_auxs_safe'
147
+ - 'for_each_card_components'
148
+ - 'for_each_card_dapms'
149
+ - 'for_each_card_pre_auxs'
150
+ - 'for_each_card_prelinks'
151
+ - 'for_each_card_rtds'
152
+ - 'for_each_card_rtds_safe'
153
+ - 'for_each_card_widgets'
154
+ - 'for_each_card_widgets_safe'
155
+ - 'for_each_cgroup_storage_type'
124156 - 'for_each_child_of_node'
125157 - 'for_each_clear_bit'
126158 - 'for_each_clear_bit_from'
127159 - 'for_each_cmsghdr'
128160 - 'for_each_compatible_node'
161
+ - 'for_each_component_dais'
162
+ - 'for_each_component_dais_safe'
163
+ - 'for_each_comp_order'
129164 - 'for_each_console'
130165 - 'for_each_cpu'
131166 - 'for_each_cpu_and'
132167 - 'for_each_cpu_not'
133168 - 'for_each_cpu_wrap'
169
+ - 'for_each_dapm_widgets'
134170 - 'for_each_dev_addr'
171
+ - 'for_each_dev_scope'
172
+ - 'for_each_displayid_db'
135173 - 'for_each_dma_cap_mask'
174
+ - 'for_each_dpcm_be'
175
+ - 'for_each_dpcm_be_rollback'
176
+ - 'for_each_dpcm_be_safe'
177
+ - 'for_each_dpcm_fe'
136178 - 'for_each_drhd_unit'
137179 - 'for_each_dss_dev'
138180 - 'for_each_efi_memory_desc'
139181 - 'for_each_efi_memory_desc_in_map'
182
+ - 'for_each_element'
183
+ - 'for_each_element_extid'
184
+ - 'for_each_element_id'
140185 - 'for_each_endpoint_of_node'
141186 - 'for_each_evictable_lru'
142187 - 'for_each_fib6_node_rt_rcu'
143188 - 'for_each_fib6_walker_rt'
189
+ - 'for_each_free_mem_pfn_range_in_zone'
190
+ - 'for_each_free_mem_pfn_range_in_zone_from'
144191 - 'for_each_free_mem_range'
145192 - 'for_each_free_mem_range_reverse'
146193 - 'for_each_func_rsrc'
....@@ -149,21 +196,30 @@
149196 - 'for_each_iommu'
150197 - 'for_each_ip_tunnel_rcu'
151198 - 'for_each_irq_nr'
199
+ - 'for_each_link_codecs'
200
+ - 'for_each_link_cpus'
201
+ - 'for_each_link_platforms'
152202 - 'for_each_lru'
153203 - 'for_each_matching_node'
154204 - 'for_each_matching_node_and_match'
155
- - 'for_each_memblock'
205
+ - 'for_each_member'
206
+ - 'for_each_mem_region'
156207 - 'for_each_memblock_type'
157208 - 'for_each_memcg_cache_index'
158209 - 'for_each_mem_pfn_range'
210
+ - '__for_each_mem_range'
159211 - 'for_each_mem_range'
212
+ - '__for_each_mem_range_rev'
160213 - 'for_each_mem_range_rev'
161214 - 'for_each_migratetype_order'
162215 - 'for_each_msi_entry'
216
+ - 'for_each_msi_entry_safe'
163217 - 'for_each_net'
218
+ - 'for_each_net_continue_reverse'
164219 - 'for_each_netdev'
165220 - 'for_each_netdev_continue'
166221 - 'for_each_netdev_continue_rcu'
222
+ - 'for_each_netdev_continue_reverse'
167223 - 'for_each_netdev_feature'
168224 - 'for_each_netdev_in_bond_rcu'
169225 - 'for_each_netdev_rcu'
....@@ -172,6 +228,7 @@
172228 - 'for_each_net_rcu'
173229 - 'for_each_new_connector_in_state'
174230 - 'for_each_new_crtc_in_state'
231
+ - 'for_each_new_mst_mgr_in_state'
175232 - 'for_each_new_plane_in_state'
176233 - 'for_each_new_private_obj_in_state'
177234 - 'for_each_node'
....@@ -181,14 +238,19 @@
181238 - 'for_each_node_state'
182239 - 'for_each_node_with_cpus'
183240 - 'for_each_node_with_property'
241
+ - 'for_each_nonreserved_multicast_dest_pgid'
184242 - 'for_each_of_allnodes'
185243 - 'for_each_of_allnodes_from'
244
+ - 'for_each_of_cpu_node'
186245 - 'for_each_of_pci_range'
187246 - 'for_each_old_connector_in_state'
188247 - 'for_each_old_crtc_in_state'
248
+ - 'for_each_old_mst_mgr_in_state'
189249 - 'for_each_oldnew_connector_in_state'
190250 - 'for_each_oldnew_crtc_in_state'
251
+ - 'for_each_oldnew_mst_mgr_in_state'
191252 - 'for_each_oldnew_plane_in_state'
253
+ - 'for_each_oldnew_plane_in_state_reverse'
192254 - 'for_each_oldnew_private_obj_in_state'
193255 - 'for_each_old_plane_in_state'
194256 - 'for_each_old_private_obj_in_state'
....@@ -198,6 +260,8 @@
198260 - 'for_each_pci_bridge'
199261 - 'for_each_pci_dev'
200262 - 'for_each_pci_msi_entry'
263
+ - 'for_each_pcm_streams'
264
+ - 'for_each_physmem_range'
201265 - 'for_each_populated_zone'
202266 - 'for_each_possible_cpu'
203267 - 'for_each_present_cpu'
....@@ -206,16 +270,35 @@
206270 - 'for_each_process'
207271 - 'for_each_process_thread'
208272 - 'for_each_property_of_node'
273
+ - 'for_each_registered_fb'
274
+ - 'for_each_requested_gpio'
275
+ - 'for_each_requested_gpio_in_range'
276
+ - 'for_each_reserved_mem_range'
209277 - 'for_each_reserved_mem_region'
210
- - 'for_each_resv_unavail_range'
211
- - 'for_each_rtdcom'
212
- - 'for_each_rtdcom_safe'
278
+ - 'for_each_rtd_codec_dais'
279
+ - 'for_each_rtd_codec_dais_rollback'
280
+ - 'for_each_rtd_components'
281
+ - 'for_each_rtd_cpu_dais'
282
+ - 'for_each_rtd_cpu_dais_rollback'
283
+ - 'for_each_rtd_dais'
213284 - 'for_each_set_bit'
214285 - 'for_each_set_bit_from'
286
+ - 'for_each_set_clump8'
215287 - 'for_each_sg'
288
+ - 'for_each_sg_dma_page'
216289 - 'for_each_sg_page'
290
+ - 'for_each_sgtable_dma_page'
291
+ - 'for_each_sgtable_dma_sg'
292
+ - 'for_each_sgtable_page'
293
+ - 'for_each_sgtable_sg'
294
+ - 'for_each_sibling_event'
295
+ - 'for_each_subelement'
296
+ - 'for_each_subelement_extid'
297
+ - 'for_each_subelement_id'
217298 - '__for_each_thread'
218299 - 'for_each_thread'
300
+ - 'for_each_unicast_dest_pgid'
301
+ - 'for_each_wakeup_source'
219302 - 'for_each_zone'
220303 - 'for_each_zone_zonelist'
221304 - 'for_each_zone_zonelist_nodemask'
....@@ -223,6 +306,8 @@
223306 - 'fwnode_for_each_child_node'
224307 - 'fwnode_graph_for_each_endpoint'
225308 - 'gadget_for_each_ep'
309
+ - 'genradix_for_each'
310
+ - 'genradix_for_each_from'
226311 - 'hash_for_each'
227312 - 'hash_for_each_possible'
228313 - 'hash_for_each_possible_rcu'
....@@ -251,27 +336,40 @@
251336 - 'hlist_nulls_for_each_entry_from'
252337 - 'hlist_nulls_for_each_entry_rcu'
253338 - 'hlist_nulls_for_each_entry_safe'
339
+ - 'i3c_bus_for_each_i2cdev'
340
+ - 'i3c_bus_for_each_i3cdev'
254341 - 'ide_host_for_each_port'
255342 - 'ide_port_for_each_dev'
256343 - 'ide_port_for_each_present_dev'
257344 - 'idr_for_each_entry'
258345 - 'idr_for_each_entry_continue'
346
+ - 'idr_for_each_entry_continue_ul'
259347 - 'idr_for_each_entry_ul'
348
+ - 'in_dev_for_each_ifa_rcu'
349
+ - 'in_dev_for_each_ifa_rtnl'
260350 - 'inet_bind_bucket_for_each'
261351 - 'inet_lhash2_for_each_icsk_rcu'
262
- - 'iov_for_each'
263352 - 'key_for_each'
264353 - 'key_for_each_safe'
265354 - 'klp_for_each_func'
355
+ - 'klp_for_each_func_safe'
356
+ - 'klp_for_each_func_static'
266357 - 'klp_for_each_object'
358
+ - 'klp_for_each_object_safe'
359
+ - 'klp_for_each_object_static'
360
+ - 'kunit_suite_for_each_test_case'
267361 - 'kvm_for_each_memslot'
268362 - 'kvm_for_each_vcpu'
269363 - 'list_for_each'
364
+ - 'list_for_each_codec'
365
+ - 'list_for_each_codec_safe'
366
+ - 'list_for_each_continue'
270367 - 'list_for_each_entry'
271368 - 'list_for_each_entry_continue'
272369 - 'list_for_each_entry_continue_rcu'
273370 - 'list_for_each_entry_continue_reverse'
274371 - 'list_for_each_entry_from'
372
+ - 'list_for_each_entry_from_rcu'
275373 - 'list_for_each_entry_from_reverse'
276374 - 'list_for_each_entry_lockless'
277375 - 'list_for_each_entry_rcu'
....@@ -287,10 +385,12 @@
287385 - 'llist_for_each_entry'
288386 - 'llist_for_each_entry_safe'
289387 - 'llist_for_each_safe'
388
+ - 'mci_for_each_dimm'
290389 - 'media_device_for_each_entity'
291390 - 'media_device_for_each_intf'
292391 - 'media_device_for_each_link'
293392 - 'media_device_for_each_pad'
393
+ - 'nanddev_io_for_each_page'
294394 - 'netdev_for_each_lower_dev'
295395 - 'netdev_for_each_lower_private'
296396 - 'netdev_for_each_lower_private_rcu'
....@@ -311,6 +411,7 @@
311411 - 'of_property_for_each_string'
312412 - 'of_property_for_each_u32'
313413 - 'pci_bus_for_each_resource'
414
+ - 'pcm_for_each_format'
314415 - 'ping_portaddr_for_each_entry'
315416 - 'plist_for_each'
316417 - 'plist_for_each_continue'
....@@ -323,24 +424,27 @@
323424 - 'protocol_for_each_card'
324425 - 'protocol_for_each_dev'
325426 - 'queue_for_each_hw_ctx'
326
- - 'radix_tree_for_each_contig'
327427 - 'radix_tree_for_each_slot'
328428 - 'radix_tree_for_each_tagged'
329429 - 'rbtree_postorder_for_each_entry_safe'
430
+ - 'rdma_for_each_block'
431
+ - 'rdma_for_each_port'
432
+ - 'rdma_umem_for_each_dma_block'
330433 - 'resource_list_for_each_entry'
331434 - 'resource_list_for_each_entry_safe'
332435 - 'rhl_for_each_entry_rcu'
333436 - 'rhl_for_each_rcu'
334437 - 'rht_for_each'
335
- - 'rht_for_each_continue'
336438 - 'rht_for_each_entry'
337
- - 'rht_for_each_entry_continue'
439
+ - 'rht_for_each_entry_from'
338440 - 'rht_for_each_entry_rcu'
339
- - 'rht_for_each_entry_rcu_continue'
441
+ - 'rht_for_each_entry_rcu_from'
340442 - 'rht_for_each_entry_safe'
443
+ - 'rht_for_each_from'
341444 - 'rht_for_each_rcu'
342
- - 'rht_for_each_rcu_continue'
445
+ - 'rht_for_each_rcu_from'
343446 - '__rq_for_each_bio'
447
+ - 'rq_for_each_bvec'
344448 - 'rq_for_each_segment'
345449 - 'scsi_for_each_prot_sg'
346450 - 'scsi_for_each_sg'
....@@ -358,12 +462,14 @@
358462 - 'sk_nulls_for_each'
359463 - 'sk_nulls_for_each_from'
360464 - 'sk_nulls_for_each_rcu'
465
+ - 'snd_array_for_each'
361466 - 'snd_pcm_group_for_each_entry'
362467 - 'snd_soc_dapm_widget_for_each_path'
363468 - 'snd_soc_dapm_widget_for_each_path_safe'
364469 - 'snd_soc_dapm_widget_for_each_sink_path'
365470 - 'snd_soc_dapm_widget_for_each_source_path'
366471 - 'tb_property_for_each'
472
+ - 'tcf_exts_for_each_action'
367473 - 'udp_portaddr_for_each_entry'
368474 - 'udp_portaddr_for_each_entry_rcu'
369475 - 'usb_hub_for_each_child'
....@@ -372,6 +478,20 @@
372478 - 'v4l2_m2m_for_each_dst_buf_safe'
373479 - 'v4l2_m2m_for_each_src_buf'
374480 - 'v4l2_m2m_for_each_src_buf_safe'
481
+ - 'virtio_device_for_each_vq'
482
+ - 'while_for_each_ftrace_op'
483
+ - 'xa_for_each'
484
+ - 'xa_for_each_marked'
485
+ - 'xa_for_each_range'
486
+ - 'xa_for_each_start'
487
+ - 'xas_for_each'
488
+ - 'xas_for_each_conflict'
489
+ - 'xas_for_each_marked'
490
+ - 'xbc_array_for_each_value'
491
+ - 'xbc_for_each_key_value'
492
+ - 'xbc_node_for_each_array_value'
493
+ - 'xbc_node_for_each_child'
494
+ - 'xbc_node_for_each_key_value'
375495 - 'zorro_for_each_dev'
376496
377497 #IncludeBlocks: Preserve # Unknown to clang-format-5.0
....@@ -389,7 +509,7 @@
389509 MacroBlockBegin: ''
390510 MacroBlockEnd: ''
391511 MaxEmptyLinesToKeep: 1
392
-NamespaceIndentation: Inner
512
+NamespaceIndentation: None
393513 #ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0
394514 ObjCBlockIndentWidth: 8
395515 ObjCSpaceAfterProperty: true