]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9776a4ed268a53bea26e816331b24e071a7bcd6
tree35b8018e0af8f730af47bc61fb1fe3fa2050ace1
parent8280387ae9a407b414b4b211b039f8f9f016ff4c
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