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 20:50:05 +0200
commit43b2ec01d2140964d98ea7812ca2f9dff67d2db2 (patch)
treefb8f06925406ac3a154a29678da57de752723260 /drivers/vme
parentRDMA/amso1100: use offset_in_page macro (diff)
downloadlinux-43b2ec01d2140964d98ea7812ca2f9dff67d2db2.tar.xz
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