Skip to content

Commit 77b6cf6

Browse files
committed
Reflect recent indention requirements
This commit synchronizes with Linux kernel for consistent format style.
1 parent 344fd19 commit 77b6cf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.clang-format

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ UseTab: Never
1313
IndentWidth: 4
1414
BreakBeforeBraces: Linux
1515
AccessModifierOffset: -4
16-
ForEachMacros:
16+
ForEachMacros:
1717
- foreach
1818
- Q_FOREACH
1919
- BOOST_FOREACH
@@ -24,4 +24,4 @@ ForEachMacros:
2424
- hlist_for_each_entry
2525
- rb_list_foreach
2626
- rb_list_foreach_safe
27-
- vec_foreach
27+
SpaceBeforeParens: ControlStatementsExceptForEachMacros

zobrist.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ zobrist_entry_t *zobrist_get(u64 key)
5353

5454
zobrist_entry_t *entry = NULL;
5555

56-
hlist_for_each_entry (entry, &hash_table[hash_key], ht_list) {
56+
hlist_for_each_entry(entry, &hash_table[hash_key], ht_list) {
5757
if (entry->key == key)
5858
return entry;
5959
}

0 commit comments

Comments
 (0)