This patch avoids that the following error message is printed if ibv_devinfo fails: Use of uninitialized value $rmtu in string at /usr/local/bin/rxe_cfg line 364. Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> --- providers/rxe/rxe_cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/rxe/rxe_cfg b/providers/rxe/rxe_cfg index 0310d25bad91..1e6a5db2f2b8 100755 --- a/providers/rxe/rxe_cfg +++ b/providers/rxe/rxe_cfg @@ -220,6 +220,7 @@ sub get_dev_info { $rxe_mtu{$rxe} = $line; } } + $rxe_mtu{$rxe} = "(?)" if (!$rxe_mtu{$rxe}); } } -- 2.10.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html