RDMA/core: Return bool instead of int
authorParav Pandit <parav@mellanox.com>
Sun, 29 Jul 2018 08:53:13 +0000 (11:53 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:49:04 +0000 (20:49 -0600)
commitca3a8ace2b128abb7f164de9e10b8431eaddc2ac
treeab907d3693b194f4d7a67ac4eea3b088cd06a4f4
parent05e0b86c413dc09454229f070eb6d2016340f602
RDMA/core: Return bool instead of int

Return bool for following internal and inline functions as their
underlying APIs return bool too.

1. cma_zero_addr()
2. cma_loopback_addr()
3. cma_any_addr()
4. ib_addr_any()
5. ib_addr_loopback()

While we are touching cma_loopback_addr(), remove extra white spaces
in it.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c
include/rdma/ib.h