diff mbox

[infiniband-diags] ibtracert.c: Enable m_key option

Message ID 88bd7b9b-c7db-a27a-16a3-68fd5ce37af7@dev.mellanox.co.il (mailing list archive)
State Accepted, archived
Delegated to: Ira Weiny
Headers show

Commit Message

Hal Rosenstock Nov. 28, 2016, 6:47 p.m. UTC
m_key option was mistakenly excluded in commit
ced1cd4758638468329392099ee82c6f2650ea0c:

Author: Jim Foraker <foraker1@llnl.gov>
Date:   Thu May 31 12:11:33 2012 -0700

    infiniband-diags: Allow specification of an mkey to use on the command line
    
    Signed-off-by: Jim Foraker <foraker1@llnl.gov>
    Signed-off-by: Ira Weiny <weiny2@llnl.gov>

Signed-off-by: Dan Ben-Yosef <danby@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ira Weiny Dec. 7, 2016, 2:42 p.m. UTC | #1
On Mon, Nov 28, 2016 at 01:47:53PM -0500, Hal Rosenstock wrote:
> 
> m_key option was mistakenly excluded in commit
> ced1cd4758638468329392099ee82c6f2650ea0c:
> 
> Author: Jim Foraker <foraker1@llnl.gov>
> Date:   Thu May 31 12:11:33 2012 -0700
> 
>     infiniband-diags: Allow specification of an mkey to use on the command line
>     
>     Signed-off-by: Jim Foraker <foraker1@llnl.gov>
>     Signed-off-by: Ira Weiny <weiny2@llnl.gov>
> 
> Signed-off-by: Dan Ben-Yosef <danby@mellanox.com>
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>


Thanks applied,
Ira


> ---
> diff --git a/src/ibtracert.c b/src/ibtracert.c
> index d99d0e1..1da3d62 100644
> --- a/src/ibtracert.c
> +++ b/src/ibtracert.c
> @@ -804,7 +804,7 @@ int main(int argc, char **argv)
>  		NULL,
>  	};
>  
> -	ibdiag_process_opts(argc, argv, NULL, "DKy", opts, process_opt,
> +	ibdiag_process_opts(argc, argv, NULL, "DK", opts, process_opt,
>  			    usage_args, usage_examples);
>  
>  	f = stdout;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/ibtracert.c b/src/ibtracert.c
index d99d0e1..1da3d62 100644
--- a/src/ibtracert.c
+++ b/src/ibtracert.c
@@ -804,7 +804,7 @@  int main(int argc, char **argv)
 		NULL,
 	};
 
-	ibdiag_process_opts(argc, argv, NULL, "DKy", opts, process_opt,
+	ibdiag_process_opts(argc, argv, NULL, "DK", opts, process_opt,
 			    usage_args, usage_examples);
 
 	f = stdout;