IB/mlx4: Fix incorrect order of formal and actual parameters
authorHåkon Bugge <haakon.bugge@oracle.com>
Fri, 28 Apr 2017 11:06:54 +0000 (13:06 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 1 May 2017 19:04:23 +0000 (15:04 -0400)
commitb03ee4ca0cec348c84dccf08aaec2454c4d236c2
tree0eb69d8a7690160a0984f17354cdc4965ec28c45
parent898782883501798284a10d1467b11dd2a48270cf
IB/mlx4: Fix incorrect order of formal and actual parameters

The last two actual parameters when calling id_map_find_by_sl_id()
from id_map_get() are swapped. However, the same formal parameters to
id_map_get() have them swapped as well, inverting the effect of the
first error.

This commit improves readability, but makes no functional change to
the code.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Wengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/cm.c