]> git.karo-electronics.de Git - linux-beck.git/commit
IB/core: Don't warn on no SA support in event handler
authorMoni Shoua <monis@mellanox.com>
Wed, 10 Jun 2015 09:13:32 +0000 (12:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 11 Jun 2015 03:54:34 +0000 (23:54 -0400)
commit9247a8eba62058dba6d018fca4e33332e4c535e8
tree087b61ee98fed7fe3fb7f6f6d53bfc1c6e2a62b5
parentdb75d0547cf230a433fab4d68630849532f2c8a0
IB/core: Don't warn on no SA support in event handler

Registering an event handler is done for a device. This device may have
one RoCE port (no SA cap) and one InfiniBand port (has SA cap).
Therefore, warning from the event handler about a specific port that
doesn't have SA cap is correct but pollutes the kernel log without a
need.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/multicast.c
drivers/infiniband/core/sa_query.c