Re: [PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-04 Thread Jason Gunthorpe
On Wed, Nov 04, 2020 at 07:30:36PM +, Matthew Wilcox wrote: > On Wed, Nov 04, 2020 at 02:58:43PM -0400, Jason Gunthorpe wrote: > > > static void cm_finalize_id(struct cm_id_private *cm_id_priv) > > > { > > > xa_store_irq(&cm.local_id_table, cm_local_id(cm_id_priv->id.local_id), > > > -

Re: [PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-04 Thread Matthew Wilcox
On Wed, Nov 04, 2020 at 02:58:43PM -0400, Jason Gunthorpe wrote: > > static void cm_finalize_id(struct cm_id_private *cm_id_priv) > > { > > xa_store_irq(&cm.local_id_table, cm_local_id(cm_id_priv->id.local_id), > > -cm_id_priv, GFP_KERNEL); > > +cm_id_priv); >

Re: [PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-04 Thread Jason Gunthorpe
On Wed, Nov 04, 2020 at 10:32:13AM +0800, xiaofeng.yan wrote: > From: "xiaofeng.yan" > > function xa_store_irq() has three parameters because of removing > patameter "gfp_t gfp" > > Signed-off-by: xiaofeng.yan > drivers/infiniband/core/cm.c| 2 +- > drivers/infiniband/hw/hns/hns_ro

[PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-03 Thread xiaofeng.yan
From: "xiaofeng.yan" function xa_store_irq() has three parameters because of removing patameter "gfp_t gfp" Signed-off-by: xiaofeng.yan --- drivers/infiniband/core/cm.c| 2 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- drivers/infiniband/hw/mlx5/srq_cmd.c| 2 +- 3 files ch