IB/cma: Fix reversed test
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 27 Jan 2017 13:15:35 +0000 (14:15 +0100)
committerDoug Ledford <dledford@redhat.com>
Fri, 27 Jan 2017 19:29:20 +0000 (14:29 -0500)
commita3dd3a48a5f6ce433e06863d311dfdd57a26bf67
treed4d3709f890d0cbbb6d34918488e7bc897a02f3f
parent5c37077fd025c0fa3aa3ab2e6b607d653a4fc604
IB/cma: Fix reversed test

This test looks reverted.
We should log an error message only if 'ib_attach_mcast()' fails.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c