]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/iwcm: Change the return type of iwcm_deref_id()
authorBart Van Assche <bvanassche@acm.org>
Wed, 5 Jun 2024 14:50:58 +0000 (08:50 -0600)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Jun 2024 08:15:27 +0000 (11:15 +0300)
commitfc772e38bce5635bc1d7efae7198a305504ad112
tree80245edb0139039f5b6a9c4c7dd8c883ecf07ba7
parentb1bc15f8fb5f20b4199fbf10868bd416d9a6a692
RDMA/iwcm: Change the return type of iwcm_deref_id()

Since iwcm_deref_id() returns either 0 or 1, change its return type from
'int' into 'bool'.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240605145117.397751-3-bvanassche@acm.org
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/iwcm.c