[dpdk-stable] patch 'test/cmdline: fix missing break in switch' has been queued to LTS release 16.11.2

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon May 8 07:40:24 CEST 2017


Hi,

FYI, your patch has been queued to LTS release 16.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable
yet. It will be pushed if I get no objections before 05/13/17.
So please shout if anyone has objections.

Thanks.

	--yliu

---
>From c3d82296efc79c11f8f116448ce25933893a0717 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Thu, 4 May 2017 16:38:21 +0100
Subject: [PATCH] test/cmdline: fix missing break in switch

[ upstream commit f4e6ff881ffcdd1178550fc26a6343bbc8d36530 ]

Issue flagged by GCC 7 as a switch fall-through.

Fixes: dbb860e03eb1 ("cmdline: tests")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/test/test_cmdline_num.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test/test_cmdline_num.c b/app/test/test_cmdline_num.c
index 04263d3..e8f60cf 100644
--- a/app/test/test_cmdline_num.c
+++ b/app/test/test_cmdline_num.c
@@ -315,6 +315,7 @@ can_parse_signed(int64_t expected_result, enum cmdline_numtype type)
 	case UINT64:
 		if (expected_result < 0)
 			return 0;
+		break;
 	case INT8:
 		if (expected_result > INT8_MAX || expected_result < INT8_MIN)
 			return 0;
-- 
1.9.0



More information about the stable mailing list