summaryrefslogtreecommitdiffstats
path: root/drivers/vme
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2015-09-21 15:33:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 19:50:05 +0100
commit43b2ec01d2140964d98ea7812ca2f9dff67d2db2 (patch)
treefb8f06925406ac3a154a29678da57de752723260 /drivers/vme
parent0bc2763f569ff9533a8222bcb884ef0e22569a72 (diff)
downloadblackbird-obmc-linux-43b2ec01d2140964d98ea7812ca2f9dff67d2db2.tar.gz
blackbird-obmc-linux-43b2ec01d2140964d98ea7812ca2f9dff67d2db2.zip
IB/ehca: fix handling idr_alloc result
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Acked-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud