]> git.karo-electronics.de Git - linux-beck.git/commit
IB/multicast: Check ib_find_pkey() return value
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 21 Nov 2016 18:22:17 +0000 (10:22 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:27:34 +0000 (13:27 -0500)
commitd3a2418ee36a59bc02e9d454723f3175dcf4bfd9
tree104f2825587b27107eb55cee9be731fc16a242c8
parent11b642b84e8c43e8597de031678d15c08dd057bc
IB/multicast: Check ib_find_pkey() return value

This patch avoids that Coverity complains about not checking the
ib_find_pkey() return value.

Fixes: commit 547af76521b3 ("IB/multicast: Report errors on multicast groups if P_key changes")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/multicast.c