From dd702052364795ce93b0e5f829a8cec6bb7ffe9e Mon Sep 17 00:00:00 2001 From: Suwan Sun Date: Thu, 23 Sep 2021 22:23:10 +0800 Subject: [PATCH] ibdiags: Don't suggest non-existing ibqueryerrors command line argument [ Upstream commit 4ed4436d6da00ea077f2fda295f9d621e74540cf ] The ibchecknet command prints deprecation warning with suggestion to use "ibqueryerrors" with "-f" command line argument. However that proposed command doesn't have such an options. Simply remove "-f" suggestion and align with other infiniband-diag tools. Fixes: c670c59cecbd ("infiniband-diags: mark duplicate/lower performing scripts as deprecated.") Signed-off-by: Suwan Sun Signed-off-by: Leon Romanovsky Signed-off-by: Nicolas Morey-Chaisemartin --- infiniband-diags/scripts/ibchecknet.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infiniband-diags/scripts/ibchecknet.in b/infiniband-diags/scripts/ibchecknet.in index 7d4ea3d11..6616f9212 100644 --- a/infiniband-diags/scripts/ibchecknet.in +++ b/infiniband-diags/scripts/ibchecknet.in @@ -126,7 +126,7 @@ function check_node(lid, port) /iberror:/ {print $0} END { - printf "\n*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors -f\"" + printf "\n*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors\"" printf "\n## Summary: %d nodes checked, %d bad nodes found\n", nnodes, ne printf "## %d ports checked, %d bad ports found\n", nports, pe printf "## %d ports have errors beyond threshold\n", pcnterr