[lvc-project] [PATCH v2 0/2] Bluetooth: mgmt: remove useless NULL checks
Roman Smirnov
r.smirnov at omp.ru
Fri Mar 1 16:39:14 MSK 2024
Svace reports NULL check after dereference in
mgmt_set_connectable_complete() and add_ext_adv_params_complete().
The following patches remove these checks.
The second version has a more compact subjects compared to the
first version.
Found by Linux Verification Center (linuxtesting.org) with Svace.
Roman Smirnov (2):
Bluetooth: mgmt: remove useless NULL checks in
mgmt_set_connectable_complete()
Bluetooth: mgmt: remove useless NULL checks in
add_ext_adv_params_complete()
net/bluetooth/mgmt.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.34.1
More information about the lvc-project
mailing list