Skip to content

Commit

Permalink
DNM DNR test
Browse files Browse the repository at this point in the history
  • Loading branch information
nordicjm committed Feb 13, 2025
1 parent f631619 commit 0a70293
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions subsys/bluetooth/gatt_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ static size_t free_element_find(struct svc_el_pool *el_pool, size_t el_cnt)
"Pool uninitialized");

for (size_t i = 0; i < el_cnt; i++) {
if (!atomic_test_and_set_bit(el_pool->locks, i)) {
if (!atomic_test_and_set_bit(el_pool->locks, i))

Check warning on line 97 in subsys/bluetooth/gatt_pool.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

BRACES

subsys/bluetooth/gatt_pool.c:97 braces {} are required around if/while/for/else
return i;
}
}
return el_cnt;
}
Expand Down

0 comments on commit 0a70293

Please sign in to comment.