[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240301133916.1268403-1-r.smirnov@omp.ru>
Date: Fri, 1 Mar 2024 13:39:14 +0000
From: Roman Smirnov <r.smirnov@....ru>
To: Marcel Holtmann <marcel@...tmann.org>
CC: Roman Smirnov <r.smirnov@....ru>, Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>, Sergey Shtylyov
<s.shtylyov@....ru>, <linux-bluetooth@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <lvc-project@...uxtesting.org>
Subject: [PATCH v2 0/2] Bluetooth: mgmt: remove useless NULL checks
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
Powered by blists - more mailing lists