IB/core: Change filter function return type from int to bool
authorParav Pandit <parav@mellanox.com>
Tue, 14 Aug 2018 07:36:21 +0000 (10:36 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 15 Aug 2018 19:33:20 +0000 (13:33 -0600)
commitdd81b2c8a3339c813568d07091fcd0d97dd0cf41
tree35b8018e0af8f730af47bc61fb1fe3fa2050ace1
parentd12e2eed2743856b4493aeda4f6ed1bb0fa47e57
IB/core: Change filter function return type from int to bool

Filter functions returns either 0 or 1, therefore better change their
return type from int to bool to reflect the same.  Additionally some
filter functions have suffix of _filter some doesn't.  Make all filter
function consistent to have __filter suffix to improve code readability.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/roce_gid_mgmt.c