[dpdk-stable] [PATCH] examples/vhost_crypto: remove unused short option
Xia, Chenbo
chenbo.xia at intel.com
Wed Mar 31 10:31:04 CEST 2021
> -----Original Message-----
> From: Ibtisam Tariq <ibtisam.tariq at emumba.com>
> Sent: Thursday, February 4, 2021 4:06 PM
> To: maxime.coquelin at redhat.com; Xia, Chenbo <chenbo.xia at intel.com>
> Cc: dev at dpdk.org; Ibtisam Tariq <ibtisam.tariq at emumba.com>; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>
> Subject: [PATCH] examples/vhost_crypto: remove unused short option
>
> Short option "s" was passed to getopt_long function, while there was
> no condition on this option.
>
> Fixes: f5188211c7 ("examples/vhost_crypto: add sample application")
> Cc: roy.fan.zhang at intel.com
>
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq at emumba.com>
> ---
> examples/vhost_crypto/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
> index 29c8f7228..66bde38c0 100644
> --- a/examples/vhost_crypto/main.c
> +++ b/examples/vhost_crypto/main.c
> @@ -219,7 +219,7 @@ vhost_crypto_parse_args(int argc, char **argv)
>
> argvopt = argv;
>
> - while ((opt = getopt_long(argc, argvopt, "s:",
> + while ((opt = getopt_long(argc, argvopt, "",
> lgopts, &option_index)) != EOF) {
>
> switch (opt) {
> --
> 2.17.1
Fix two things before apply:
1. Change Fix commit id to 12 digits.
2. Add cc to stable tag and cc to stable as it needs backport.
With above fix, patch applied to next-virtio/main. Thanks!
More information about the stable
mailing list