On Mon, Jul 19, 2021 at 02:00:53PM +0800, Xiyu Yang wrote: > refcount_t type and corresponding API can protect refcounters from > accidental underflow and overflow and further use-after-free situations. > > Signed-off-by: Xiyu Yang <xiyuyang19@xxxxxxxxxxxx> > Signed-off-by: Xin Tan <tanxin.ctf@xxxxxxxxx> > Tested-by: Josh Fisher <josh.fisher@xxxxxxxxxxxxxxxxxxxx> > Acked-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxxxxxxxxxxxxx> > --- > drivers/infiniband/hw/hfi1/chip.c | 2 +- > drivers/infiniband/hw/hfi1/file_ops.c | 6 +++--- > drivers/infiniband/hw/hfi1/hfi.h | 3 ++- > drivers/infiniband/hw/hfi1/init.c | 2 +- > 4 files changed, 7 insertions(+), 6 deletions(-) Applied to for-next, thanks Jason