summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-09-30 11:16:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-20 10:10:28 +0100
commit95e8d653ea987adfe108173bd5969201a363bf19 (patch)
treed02b87655dad781cd1547ecc405c5d30e0e235fc /drivers/scsi/mpt3sas
parent85d63b76bdd1b570b9c16e60f83eb3185e22b30d (diff)
downloadlinux-stable-95e8d653ea987adfe108173bd5969201a363bf19.tar.gz
linux-stable-95e8d653ea987adfe108173bd5969201a363bf19.tar.bz2
linux-stable-95e8d653ea987adfe108173bd5969201a363bf19.zip
misc: pci_endpoint_test: Avoid triggering a BUG()
[ Upstream commit 846df244ebefbc9f7b91e9ae7a5e5a2e69fb4772 ] If you call ida_simple_remove(&pci_endpoint_test_ida, id) with a negative "id" then it triggers an immediate BUG_ON(). Let's not allow that. Fixes: 2c156ac71c6b ("misc: Add host side PCI driver for PCI test function device") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mpt3sas')
0 files changed, 0 insertions, 0 deletions