On Mon, Nov 16, 2020 at 11:18:03AM +0100, Mauro Carvalho Chehab wrote: [..] > diff --git a/drivers/infiniband/sw/rdmavt/ah.c b/drivers/infiniband/sw/rdmavt/ah.c > index f9754dcd250b..480b621d1a9f 100644 > --- a/drivers/infiniband/sw/rdmavt/ah.c > +++ b/drivers/infiniband/sw/rdmavt/ah.c [..] > /** > - * rvt_destory_ah - Destory an address handle > + * rvt_destroy_ah - Destory an address handle s/Destory/Destroy > * @ibah: address handle > * @destroy_flags: destroy address handle flags (see enum rdma_destroy_ah_flags) > * Return: 0 on success > */ > int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags) > { > struct rvt_dev_info *dev = ib_to_rvt(ibah->device); > struct rvt_ah *ah = ibah_to_rvtah(ibah); > unsigned long flags; > > spin_lock_irqsave(&dev->n_ahs_lock, flags); > dev->n_ahs_allocated--; > spin_unlock_irqrestore(&dev->n_ahs_lock, flags); > > rdma_destroy_ah_attr(&ah->attr); > return 0; > } -- Gustavo