Skip to content

Commit

Permalink
coccicheck: Add missing test_and_clear_bit()
Browse files Browse the repository at this point in the history
One of the two test_and_set_bit() should have been test_and_clear_bit() from the beginning on.
  • Loading branch information
Philipp-Reisner authored and lge committed Sep 9, 2021
1 parent 7ad9868 commit 86d6a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coccinelle/enum_bitops.cocci
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ position p;
|
test_and_set_bit(F, &var->flags)@p
|
test_and_set_bit(F, &var->flags)@p
test_and_clear_bit(F, &var->flags)@p
)

@script:python depends on report@
Expand Down

0 comments on commit 86d6a61

Please sign in to comment.