Files
linux/drivers/misc
Dan Carpenter 95e8d653ea misc: pci_endpoint_test: Avoid triggering a BUG()
[ Upstream commit 846df244eb ]

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: 2c156ac71c ("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>
2017-12-20 10:10:28 +01:00
..
2014-02-28 14:08:42 -08:00
2017-08-28 16:55:48 +02:00
2013-08-27 08:28:01 -07:00
2017-08-28 16:55:48 +02:00