]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/uverbs: Declare closing variable as boolean
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 3 Sep 2018 17:18:03 +0000 (20:18 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 5 Sep 2018 21:59:06 +0000 (15:59 -0600)
commit61ad011e0c4fdbe2f8861372b223f64592fb7a2e
tree41854f0c838fcb1b6787a8e6d0b6ea7cc9a3ee11
parentc2273319f7e57a61d08fca9ea2932af74cc8c04a
RDMA/uverbs: Declare closing variable as boolean

The "closing" variable is used as boolean and set to "true" in one
place, update the declaration of that variable and their other
assignment to proper type.

Fixes: 4c9f7a77f6ce ("IB/uverbs: Rework the locking for cleaning up the ucontext")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_verbs.h