Skip to content

Commit 86d6a61

Browse files
Philipp-Reisnerlge
authored andcommitted
coccicheck: Add missing test_and_clear_bit()
One of the two test_and_set_bit() should have been test_and_clear_bit() from the beginning on.
1 parent 7ad9868 commit 86d6a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coccinelle/enum_bitops.cocci

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ position p;
3838
|
3939
test_and_set_bit(F, &var->flags)@p
4040
|
41-
test_and_set_bit(F, &var->flags)@p
41+
test_and_clear_bit(F, &var->flags)@p
4242
)
4343

4444
@script:python depends on report@

0 commit comments

Comments
 (0)