diff mbox

test:performance:add break statement to switch(opt)

Message ID 1458924559-2909-1-git-send-email-balakrishna.garapati@linaro.org
State Accepted
Commit 226416206efc01fe5ccb34014e110f858ebb2f87
Headers show

Commit Message

Balakrishna Garapati March 25, 2016, 4:49 p.m. UTC
Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>
---
 v1:Fixes missing break between switch(opt)
    https://bugs.linaro.org/show_bug.cgi?id=2137

 test/performance/odp_crypto.c | 1 +
 1 file changed, 1 insertion(+)

--
1.9.1

Comments

Bill Fischofer March 25, 2016, 5:14 p.m. UTC | #1
On Fri, Mar 25, 2016 at 11:49 AM, Balakrishna Garapati <
balakrishna.garapati@linaro.org> wrote:

> Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>

>


Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>



> ---

>  v1:Fixes missing break between switch(opt)

>     https://bugs.linaro.org/show_bug.cgi?id=2137

>

>  test/performance/odp_crypto.c | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c

> index 5fd339d..54f5046 100644

> --- a/test/performance/odp_crypto.c

> +++ b/test/performance/odp_crypto.c

> @@ -858,6 +858,7 @@ static void parse_args(int argc, char *argv[],

> crypto_args_t *cargs)

>                                 usage(argv[0]);

>                                 exit(-1);

>                         }

> +                       break;

>                 case 'd':

>                         cargs->debug_packets = 1;

>                         break;

> --

> 1.9.1

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
Maxim Uvarov March 28, 2016, 1:13 p.m. UTC | #2
Merged,
Maxim.

On 03/25/16 20:14, Bill Fischofer wrote:
>
>
> On Fri, Mar 25, 2016 at 11:49 AM, Balakrishna Garapati 
> <balakrishna.garapati@linaro.org 
> <mailto:balakrishna.garapati@linaro.org>> wrote:
>
>     Signed-off-by: Balakrishna Garapati
>     <balakrishna.garapati@linaro.org
>     <mailto:balakrishna.garapati@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>     ---
>      v1:Fixes missing break between switch(opt)
>     https://bugs.linaro.org/show_bug.cgi?id=2137
>
>      test/performance/odp_crypto.c | 1 +
>      1 file changed, 1 insertion(+)
>
>     diff --git a/test/performance/odp_crypto.c
>     b/test/performance/odp_crypto.c
>     index 5fd339d..54f5046 100644
>     --- a/test/performance/odp_crypto.c
>     +++ b/test/performance/odp_crypto.c
>     @@ -858,6 +858,7 @@ static void parse_args(int argc, char *argv[],
>     crypto_args_t *cargs)
>                                     usage(argv[0]);
>                                     exit(-1);
>                             }
>     +                       break;
>                     case 'd':
>                             cargs->debug_packets = 1;
>                             break;
>     --
>     1.9.1
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
diff mbox

Patch

diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c
index 5fd339d..54f5046 100644
--- a/test/performance/odp_crypto.c
+++ b/test/performance/odp_crypto.c
@@ -858,6 +858,7 @@  static void parse_args(int argc, char *argv[], crypto_args_t *cargs)
 				usage(argv[0]);
 				exit(-1);
 			}
+			break;
 		case 'd':
 			cargs->debug_packets = 1;
 			break;