On Wed, Oct 02, 2019 at 03:21:27PM +0300, Leon Romanovsky wrote: > From: Mohamad Heib <mohamadh@xxxxxxxxxxxx> > > rdma_for_each_port is already incrementing the iterator's value > it receives therefore, after the first iteration the iterator is > increased by 2 which eventually causing wrong queries > and possible traces. > > Fix the above by removing the old redundant incrementation that > was used before rdma_for_each_port() macro. > > Fixes: ea1075edcbab ("RDMA: Add and use rdma_for_each_port") > Signed-off-by: Mohamad Heib <mohamadh@xxxxxxxxxxxx> > Reviewed-by: Erez Alfasi <ereza@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/security.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-rc, thanks Jason