Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: controller: Various coverity related fixes #35426

Merged
merged 3 commits into from
May 19, 2021

Conversation

cvinayak
Copy link
Contributor

@cvinayak cvinayak commented May 19, 2021

Fix side effect in assertion when checking a volatile
variable inside assert check.

Fixes #32904.
Fixes #32923.

Explicitly ignore return value from call to mayfly_enqueue.

Fixes #32917.
Fixes #32961.

Add assert check to avoid deferencing null return value by
ull_adv_set_get() function.

Fixes #35347.

Signed-off-by: Vinayak Kariappa Chettimada [email protected]

Fix side effect in assertion when checking a volatile
variable inside assert check.

Fixes zephyrproject-rtos#32904, zephyrproject-rtos#32923.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Explicitly ignore return value from call to mayfly_enqueue.

Fixes zephyrproject-rtos#32917, zephyrproject-rtos#32961.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Add assert check to avoid deferencing null return value by
ull_adv_set_get() function.

Fixes zephyrproject-rtos#35347.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
@carlescufi carlescufi requested a review from wopu-ot May 19, 2021 14:04
@nashif nashif merged commit c0a8f38 into zephyrproject-rtos:main May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment