diff options
| author | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-18 13:57:04 -0900 |
|---|---|---|
| committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2019-01-19 09:26:06 -0900 |
| commit | 99e309b6ed75fab4a43afd9e523441ecc5a1f511 (patch) | |
| tree | f6fe9a002adfeb8a7a92d113ae70c39532c86489 /.clang-format | |
| parent | 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 (diff) | |
| download | linux-stable-99e309b6ed75fab4a43afd9e523441ecc5a1f511.tar.gz linux-stable-99e309b6ed75fab4a43afd9e523441ecc5a1f511.tar.bz2 linux-stable-99e309b6ed75fab4a43afd9e523441ecc5a1f511.tar.xz linux-stable-99e309b6ed75fab4a43afd9e523441ecc5a1f511.zip | |
clang-format: Update .clang-format with the latest for_each macro list
Re-run the shell fragment that generated the original list. In particular
this adds the missing xarray related functions.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index e6080f5834a3..bc2ffb2a0b53 100644 --- a/.clang-format +++ b/.clang-format | |||
| @@ -72,6 +72,10 @@ ForEachMacros: | |||
| 72 | - 'apei_estatus_for_each_section' | 72 | - 'apei_estatus_for_each_section' |
| 73 | - 'ata_for_each_dev' | 73 | - 'ata_for_each_dev' |
| 74 | - 'ata_for_each_link' | 74 | - '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' | ||
| 75 | - 'ax25_for_each' | 79 | - 'ax25_for_each' |
| 76 | - 'ax25_uid_for_each' | 80 | - 'ax25_uid_for_each' |
| 77 | - 'bio_for_each_integrity_vec' | 81 | - 'bio_for_each_integrity_vec' |
| @@ -85,6 +89,7 @@ ForEachMacros: | |||
| 85 | - 'blk_queue_for_each_rl' | 89 | - 'blk_queue_for_each_rl' |
| 86 | - 'bond_for_each_slave' | 90 | - 'bond_for_each_slave' |
| 87 | - 'bond_for_each_slave_rcu' | 91 | - 'bond_for_each_slave_rcu' |
| 92 | - 'bpf_for_each_spilled_reg' | ||
| 88 | - 'btree_for_each_safe128' | 93 | - 'btree_for_each_safe128' |
| 89 | - 'btree_for_each_safe32' | 94 | - 'btree_for_each_safe32' |
| 90 | - 'btree_for_each_safe64' | 95 | - 'btree_for_each_safe64' |
| @@ -103,6 +108,8 @@ ForEachMacros: | |||
| 103 | - 'drm_atomic_crtc_for_each_plane' | 108 | - 'drm_atomic_crtc_for_each_plane' |
| 104 | - 'drm_atomic_crtc_state_for_each_plane' | 109 | - 'drm_atomic_crtc_state_for_each_plane' |
| 105 | - 'drm_atomic_crtc_state_for_each_plane_state' | 110 | - 'drm_atomic_crtc_state_for_each_plane_state' |
| 111 | - 'drm_atomic_for_each_plane_damage' | ||
| 112 | - 'drm_connector_for_each_possible_encoder' | ||
| 106 | - 'drm_for_each_connector_iter' | 113 | - 'drm_for_each_connector_iter' |
| 107 | - 'drm_for_each_crtc' | 114 | - 'drm_for_each_crtc' |
| 108 | - 'drm_for_each_encoder' | 115 | - 'drm_for_each_encoder' |
| @@ -121,11 +128,21 @@ ForEachMacros: | |||
| 121 | - 'for_each_bio' | 128 | - 'for_each_bio' |
| 122 | - 'for_each_board_func_rsrc' | 129 | - 'for_each_board_func_rsrc' |
| 123 | - 'for_each_bvec' | 130 | - 'for_each_bvec' |
| 131 | - 'for_each_card_components' | ||
| 132 | - 'for_each_card_links' | ||
| 133 | - 'for_each_card_links_safe' | ||
| 134 | - 'for_each_card_prelinks' | ||
| 135 | - 'for_each_card_rtds' | ||
| 136 | - 'for_each_card_rtds_safe' | ||
| 137 | - 'for_each_cgroup_storage_type' | ||
| 124 | - 'for_each_child_of_node' | 138 | - 'for_each_child_of_node' |
| 125 | - 'for_each_clear_bit' | 139 | - 'for_each_clear_bit' |
| 126 | - 'for_each_clear_bit_from' | 140 | - 'for_each_clear_bit_from' |
| 127 | - 'for_each_cmsghdr' | 141 | - 'for_each_cmsghdr' |
| 128 | - 'for_each_compatible_node' | 142 | - 'for_each_compatible_node' |
| 143 | - 'for_each_component_dais' | ||
| 144 | - 'for_each_component_dais_safe' | ||
| 145 | - 'for_each_comp_order' | ||
| 129 | - 'for_each_console' | 146 | - 'for_each_console' |
| 130 | - 'for_each_cpu' | 147 | - 'for_each_cpu' |
| 131 | - 'for_each_cpu_and' | 148 | - 'for_each_cpu_and' |
| @@ -133,6 +150,10 @@ ForEachMacros: | |||
| 133 | - 'for_each_cpu_wrap' | 150 | - 'for_each_cpu_wrap' |
| 134 | - 'for_each_dev_addr' | 151 | - 'for_each_dev_addr' |
| 135 | - 'for_each_dma_cap_mask' | 152 | - 'for_each_dma_cap_mask' |
| 153 | - 'for_each_dpcm_be' | ||
| 154 | - 'for_each_dpcm_be_rollback' | ||
| 155 | - 'for_each_dpcm_be_safe' | ||
| 156 | - 'for_each_dpcm_fe' | ||
| 136 | - 'for_each_drhd_unit' | 157 | - 'for_each_drhd_unit' |
| 137 | - 'for_each_dss_dev' | 158 | - 'for_each_dss_dev' |
| 138 | - 'for_each_efi_memory_desc' | 159 | - 'for_each_efi_memory_desc' |
| @@ -149,6 +170,7 @@ ForEachMacros: | |||
| 149 | - 'for_each_iommu' | 170 | - 'for_each_iommu' |
| 150 | - 'for_each_ip_tunnel_rcu' | 171 | - 'for_each_ip_tunnel_rcu' |
| 151 | - 'for_each_irq_nr' | 172 | - 'for_each_irq_nr' |
| 173 | - 'for_each_link_codecs' | ||
| 152 | - 'for_each_lru' | 174 | - 'for_each_lru' |
| 153 | - 'for_each_matching_node' | 175 | - 'for_each_matching_node' |
| 154 | - 'for_each_matching_node_and_match' | 176 | - 'for_each_matching_node_and_match' |
| @@ -160,6 +182,7 @@ ForEachMacros: | |||
| 160 | - 'for_each_mem_range_rev' | 182 | - 'for_each_mem_range_rev' |
| 161 | - 'for_each_migratetype_order' | 183 | - 'for_each_migratetype_order' |
| 162 | - 'for_each_msi_entry' | 184 | - 'for_each_msi_entry' |
| 185 | - 'for_each_msi_entry_safe' | ||
| 163 | - 'for_each_net' | 186 | - 'for_each_net' |
| 164 | - 'for_each_netdev' | 187 | - 'for_each_netdev' |
| 165 | - 'for_each_netdev_continue' | 188 | - 'for_each_netdev_continue' |
| @@ -183,12 +206,14 @@ ForEachMacros: | |||
| 183 | - 'for_each_node_with_property' | 206 | - 'for_each_node_with_property' |
| 184 | - 'for_each_of_allnodes' | 207 | - 'for_each_of_allnodes' |
| 185 | - 'for_each_of_allnodes_from' | 208 | - 'for_each_of_allnodes_from' |
| 209 | - 'for_each_of_cpu_node' | ||
| 186 | - 'for_each_of_pci_range' | 210 | - 'for_each_of_pci_range' |
| 187 | - 'for_each_old_connector_in_state' | 211 | - 'for_each_old_connector_in_state' |
| 188 | - 'for_each_old_crtc_in_state' | 212 | - 'for_each_old_crtc_in_state' |
| 189 | - 'for_each_oldnew_connector_in_state' | 213 | - 'for_each_oldnew_connector_in_state' |
| 190 | - 'for_each_oldnew_crtc_in_state' | 214 | - 'for_each_oldnew_crtc_in_state' |
| 191 | - 'for_each_oldnew_plane_in_state' | 215 | - 'for_each_oldnew_plane_in_state' |
| 216 | - 'for_each_oldnew_plane_in_state_reverse' | ||
| 192 | - 'for_each_oldnew_private_obj_in_state' | 217 | - 'for_each_oldnew_private_obj_in_state' |
| 193 | - 'for_each_old_plane_in_state' | 218 | - 'for_each_old_plane_in_state' |
| 194 | - 'for_each_old_private_obj_in_state' | 219 | - 'for_each_old_private_obj_in_state' |
| @@ -206,14 +231,17 @@ ForEachMacros: | |||
| 206 | - 'for_each_process' | 231 | - 'for_each_process' |
| 207 | - 'for_each_process_thread' | 232 | - 'for_each_process_thread' |
| 208 | - 'for_each_property_of_node' | 233 | - 'for_each_property_of_node' |
| 234 | - 'for_each_registered_fb' | ||
| 209 | - 'for_each_reserved_mem_region' | 235 | - 'for_each_reserved_mem_region' |
| 210 | - 'for_each_resv_unavail_range' | 236 | - 'for_each_rtd_codec_dai' |
| 237 | - 'for_each_rtd_codec_dai_rollback' | ||
| 211 | - 'for_each_rtdcom' | 238 | - 'for_each_rtdcom' |
| 212 | - 'for_each_rtdcom_safe' | 239 | - 'for_each_rtdcom_safe' |
| 213 | - 'for_each_set_bit' | 240 | - 'for_each_set_bit' |
| 214 | - 'for_each_set_bit_from' | 241 | - 'for_each_set_bit_from' |
| 215 | - 'for_each_sg' | 242 | - 'for_each_sg' |
| 216 | - 'for_each_sg_page' | 243 | - 'for_each_sg_page' |
| 244 | - 'for_each_sibling_event' | ||
| 217 | - '__for_each_thread' | 245 | - '__for_each_thread' |
| 218 | - 'for_each_thread' | 246 | - 'for_each_thread' |
| 219 | - 'for_each_zone' | 247 | - 'for_each_zone' |
| @@ -251,6 +279,8 @@ ForEachMacros: | |||
| 251 | - 'hlist_nulls_for_each_entry_from' | 279 | - 'hlist_nulls_for_each_entry_from' |
| 252 | - 'hlist_nulls_for_each_entry_rcu' | 280 | - 'hlist_nulls_for_each_entry_rcu' |
| 253 | - 'hlist_nulls_for_each_entry_safe' | 281 | - 'hlist_nulls_for_each_entry_safe' |
| 282 | - 'i3c_bus_for_each_i2cdev' | ||
| 283 | - 'i3c_bus_for_each_i3cdev' | ||
| 254 | - 'ide_host_for_each_port' | 284 | - 'ide_host_for_each_port' |
| 255 | - 'ide_port_for_each_dev' | 285 | - 'ide_port_for_each_dev' |
| 256 | - 'ide_port_for_each_present_dev' | 286 | - 'ide_port_for_each_present_dev' |
| @@ -267,11 +297,14 @@ ForEachMacros: | |||
| 267 | - 'kvm_for_each_memslot' | 297 | - 'kvm_for_each_memslot' |
| 268 | - 'kvm_for_each_vcpu' | 298 | - 'kvm_for_each_vcpu' |
| 269 | - 'list_for_each' | 299 | - 'list_for_each' |
| 300 | - 'list_for_each_codec' | ||
| 301 | - 'list_for_each_codec_safe' | ||
| 270 | - 'list_for_each_entry' | 302 | - 'list_for_each_entry' |
| 271 | - 'list_for_each_entry_continue' | 303 | - 'list_for_each_entry_continue' |
| 272 | - 'list_for_each_entry_continue_rcu' | 304 | - 'list_for_each_entry_continue_rcu' |
| 273 | - 'list_for_each_entry_continue_reverse' | 305 | - 'list_for_each_entry_continue_reverse' |
| 274 | - 'list_for_each_entry_from' | 306 | - 'list_for_each_entry_from' |
| 307 | - 'list_for_each_entry_from_rcu' | ||
| 275 | - 'list_for_each_entry_from_reverse' | 308 | - 'list_for_each_entry_from_reverse' |
| 276 | - 'list_for_each_entry_lockless' | 309 | - 'list_for_each_entry_lockless' |
| 277 | - 'list_for_each_entry_rcu' | 310 | - 'list_for_each_entry_rcu' |
| @@ -291,6 +324,7 @@ ForEachMacros: | |||
| 291 | - 'media_device_for_each_intf' | 324 | - 'media_device_for_each_intf' |
| 292 | - 'media_device_for_each_link' | 325 | - 'media_device_for_each_link' |
| 293 | - 'media_device_for_each_pad' | 326 | - 'media_device_for_each_pad' |
| 327 | - 'nanddev_io_for_each_page' | ||
| 294 | - 'netdev_for_each_lower_dev' | 328 | - 'netdev_for_each_lower_dev' |
| 295 | - 'netdev_for_each_lower_private' | 329 | - 'netdev_for_each_lower_private' |
| 296 | - 'netdev_for_each_lower_private_rcu' | 330 | - 'netdev_for_each_lower_private_rcu' |
| @@ -357,12 +391,14 @@ ForEachMacros: | |||
| 357 | - 'sk_nulls_for_each' | 391 | - 'sk_nulls_for_each' |
| 358 | - 'sk_nulls_for_each_from' | 392 | - 'sk_nulls_for_each_from' |
| 359 | - 'sk_nulls_for_each_rcu' | 393 | - 'sk_nulls_for_each_rcu' |
| 394 | - 'snd_array_for_each' | ||
| 360 | - 'snd_pcm_group_for_each_entry' | 395 | - 'snd_pcm_group_for_each_entry' |
| 361 | - 'snd_soc_dapm_widget_for_each_path' | 396 | - 'snd_soc_dapm_widget_for_each_path' |
| 362 | - 'snd_soc_dapm_widget_for_each_path_safe' | 397 | - 'snd_soc_dapm_widget_for_each_path_safe' |
| 363 | - 'snd_soc_dapm_widget_for_each_sink_path' | 398 | - 'snd_soc_dapm_widget_for_each_sink_path' |
| 364 | - 'snd_soc_dapm_widget_for_each_source_path' | 399 | - 'snd_soc_dapm_widget_for_each_source_path' |
| 365 | - 'tb_property_for_each' | 400 | - 'tb_property_for_each' |
| 401 | - 'tcf_exts_for_each_action' | ||
| 366 | - 'udp_portaddr_for_each_entry' | 402 | - 'udp_portaddr_for_each_entry' |
| 367 | - 'udp_portaddr_for_each_entry_rcu' | 403 | - 'udp_portaddr_for_each_entry_rcu' |
| 368 | - 'usb_hub_for_each_child' | 404 | - 'usb_hub_for_each_child' |
| @@ -371,6 +407,11 @@ ForEachMacros: | |||
| 371 | - 'v4l2_m2m_for_each_dst_buf_safe' | 407 | - 'v4l2_m2m_for_each_dst_buf_safe' |
| 372 | - 'v4l2_m2m_for_each_src_buf' | 408 | - 'v4l2_m2m_for_each_src_buf' |
| 373 | - 'v4l2_m2m_for_each_src_buf_safe' | 409 | - 'v4l2_m2m_for_each_src_buf_safe' |
| 410 | - 'virtio_device_for_each_vq' | ||
| 411 | - 'xa_for_each' | ||
| 412 | - 'xas_for_each' | ||
| 413 | - 'xas_for_each_conflict' | ||
| 414 | - 'xas_for_each_marked' | ||
| 374 | - 'zorro_for_each_dev' | 415 | - 'zorro_for_each_dev' |
| 375 | 416 | ||
| 376 | #IncludeBlocks: Preserve # Unknown to clang-format-5.0 | 417 | #IncludeBlocks: Preserve # Unknown to clang-format-5.0 |
