]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: btintel: Fixe build regression
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 23 Feb 2024 17:36:23 +0000 (12:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 11:07:41 +0000 (13:07 +0200)
commit83890a4503780486a377294b5b10238ea8d7dc9b
tree773dc6746fd03325f619bb54b5f43ae45c4fd1e1
parentce64c26ba8421181b0aba2203d285a96cbefa395
Bluetooth: btintel: Fixe build regression

commit 6e62ebfb49eb65bdcbfc5797db55e0ce7f79c3dd upstream.

This fixes the following build regression:

drivers-bluetooth-btintel.c-btintel_read_version()-warn:
passing-zero-to-PTR_ERR

Fixes: b79e04091010 ("Bluetooth: btintel: Fix null ptr deref in btintel_read_version")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bluetooth/btintel.c