From patchwork Wed Dec 27 11:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 122772 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2026802qgn; Wed, 27 Dec 2017 03:01:42 -0800 (PST) X-Google-Smtp-Source: ACJfBouXv7gbsy0A8WaNhzXEwfO/2zOzqjmiUCqNhSkjHdoZWn6FmytjYw7/p+SVr/aqyNdM0KpQ X-Received: by 10.55.31.131 with SMTP id n3mr34239480qkh.274.1514372502173; Wed, 27 Dec 2017 03:01:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514372502; cv=none; d=google.com; s=arc-20160816; b=QJ4pHbBURooOk6BwXcmbamFutrr4gO+8J07aagyq3/pXnasOroMML9rVIOI7q66hy+ mFfVaGZoHhpLkp+EIeZZrCdi4m4rbTO6E9jvar5paMrQFrmS4tbt9oXTME9dmiLswGhE 5/VJyC6f+GVk3MT/3RDpDhRJvx/4exNvodlkfecdclRyRhl+sFCTQQS6XRRpyFHRgDZV ZggR9uB9GRvD/FI6R7NW5wERfnb5mVFxoQ25KxuSdqAPP9LB51pVlDnPZz8J7LDVK4Ho 21PjsZG2cZ6D9saFeMobbMBdpL+BkuLr/1JiGhr9gMtIBcG9jx2PdaqeQhKcBL0bLFO6 TXLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=mlVzIzkX4EVRbT88DtRmtyjlwziCEj8pmu2JPEPLdEA=; b=I+FhTSf5ZG1wyT+5NqFE0+j+7znGbOaGu5FD7puCxQ/V1mJq9DVL5jOBZww+z+cPPf MBlXQAiYwrndWR+aWgABUWfKFWPLdTEXgAuRHENCgyzTAR95jDwNCmRzHrBLfqeezMBf 1pNhD/Q4MIQcBLwdd+47armwoMCgLtEpqnR1nq5HcamUar1fHCBu2a6/KID2OJJIckkk cyAmUQfb41LhRvplg2qkjlBjmNaWoYxkdPX8/9+rfDbfKXoKUfNKqbDtPrPkl3CIDRyc VEJTkb4g9McZFO+ImkyeJH026nHf3+vA2V9dOzzdvHmsGAoCeiZqW5pxdTT7eSfZN4Q5 rq4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u37si10232716qtj.406.2017.12.27.03.01.41; Wed, 27 Dec 2017 03:01:42 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D0BE5608DC; Wed, 27 Dec 2017 11:01:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id B2CBE608BB; Wed, 27 Dec 2017 11:01:00 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id DCFBD608B3; Wed, 27 Dec 2017 11:00:52 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 2217F6089D for ; Wed, 27 Dec 2017 11:00:25 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 5D219701DD2 for ; Wed, 27 Dec 2017 14:00:23 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EdJiDAQgOO-0N0eljSq; Wed, 27 Dec 2017 14:00:23 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vygUVW2kiU-0GnuMPWW; Wed, 27 Dec 2017 14:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 27 Dec 2017 14:00:07 +0300 Message-Id: <1514372409-29331-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> References: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 369 Subject: [lng-odp] [PATCH API-NEXT v2 1/3] doc: drop driver-api-guide remnants X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 369 (lumag:api-next-fixes) ** https://github.com/Linaro/odp/pull/369 ** Patch: https://github.com/Linaro/odp/pull/369.patch ** Base sha: a5f07dbf95f982b7c5898434e56164ff976c0a0f ** Merge commit sha: b9298b6e4d26f720f422ca57f1ea911597c955ef **/ doc/driver-api-guide/Doxyfile | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 doc/driver-api-guide/Doxyfile diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile deleted file mode 100644 index 28794ef0e..000000000 --- a/doc/driver-api-guide/Doxyfile +++ /dev/null @@ -1,9 +0,0 @@ -@INCLUDE = $(SRCDIR)/doc/Doxyfile_common - -PROJECT_NAME = "Driver Interface (drv) Reference Manual" -PROJECT_NUMBER = $(VERSION) -PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg -INPUT = $(SRCDIR)/doc/driver-api-guide \ - $(SRCDIR)/include/odp/drv \ - $(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp/drv \ - $(SRCDIR)/include/odp_drv.h From patchwork Wed Dec 27 11:00:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 122771 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2026059qgn; Wed, 27 Dec 2017 03:01:10 -0800 (PST) X-Google-Smtp-Source: ACJfBotBb3q6E+8YppsuqDIVxmn6WRRiu/Wsnsz+ENwc1MAyTQS93Cs2FnWCDRc9YA6SHvU14Eo8 X-Received: by 10.200.3.158 with SMTP id t30mr37051882qtg.149.1514372470052; Wed, 27 Dec 2017 03:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514372470; cv=none; d=google.com; s=arc-20160816; b=Z8q7pMG9FTdqNqVtvYvufwe+YWHNt2sSIPhFAdctPlaF+3zIgNV7xsF2XZOwryulWE eyZwPkjz+9JKd56ogW45VqpAAGIVNMfpzImZTJyiU328f0K5n2/5gz/HHeX0RKqVPgwk APvM2hIBZftrrB98qUZwWRePzQvCgNDuqLmM0+nekx3DSJIY1nYQlWDfN2BiyoB6uUcR WicbZCv02x5KZvcEdJVR8CWSdNpjMfinFBVmKDWAJWL1oha+dhFLbkAHQWfl9XjDfkVt gOURtP/tgpDVVI8plsA7iDp7Q62pH65GyhHjDpBRaFCs+K4UhIGX3Igaff4C0A3KCmM6 S4rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=/xd/LhEdIJyCEeuriR55PkiS0j3Log1pFPe30PdJDBc=; b=V6N/dZjA2fkRxt4teBw6Tw+CXHCcYDXUIgVxdrXFWKQ2CtC4SZodY3G2lPuPMyBBhA j5SFhduWqzjXS1DEijjVhees0necqM+SGxm5DCx/noePy3od6Wa7yfTWqkHWPmDPUHnQ xw0xqiPYs75GLjZeOeVBWnIHVFpEMm39j0AjRy9q8mDpgiNu91xcixlAzViqCaRmDQVR 5YIQi0N8Ce7+0ockwzYSyjXjj/piv7dlgeayu+SxjFtyMzU+nP2DimZNEmQ1R6JxdBeu mohfk06A0QfIzRl2YzRZS545bmPtVBKjIoJfXiJPGQ9/FPsvrzXfe7A97UN2geyGY7IC vPFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id z6si10901498qke.276.2017.12.27.03.01.09; Wed, 27 Dec 2017 03:01:10 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id B9069608F6; Wed, 27 Dec 2017 11:01:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 625896089D; Wed, 27 Dec 2017 11:00:58 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C6921608B5; Wed, 27 Dec 2017 11:00:52 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 165D660130 for ; Wed, 27 Dec 2017 11:00:32 +0000 (UTC) Received: from mxback13g.mail.yandex.net (mxback13g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:92]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 7AE441849B9 for ; Wed, 27 Dec 2017 14:00:30 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback13g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ye8Q2ZDK9x-0UVa5w1d; Wed, 27 Dec 2017 14:00:30 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vygUVW2kiU-0NnWV6ms; Wed, 27 Dec 2017 14:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 27 Dec 2017 14:00:08 +0300 Message-Id: <1514372409-29331-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> References: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 369 Subject: [lng-odp] [PATCH API-NEXT v2 2/3] validation: drop obsolete Makefile.inc X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov This make include file was removed long ago but got resurrected in one of merges with master branch. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 369 (lumag:api-next-fixes) ** https://github.com/Linaro/odp/pull/369 ** Patch: https://github.com/Linaro/odp/pull/369.patch ** Base sha: a5f07dbf95f982b7c5898434e56164ff976c0a0f ** Merge commit sha: b9298b6e4d26f720f422ca57f1ea911597c955ef **/ test/validation/Makefile.inc | 10 ---------- test/validation/api/Makefile.inc | 9 ++++++++- 2 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 test/validation/Makefile.inc diff --git a/test/validation/Makefile.inc b/test/validation/Makefile.inc deleted file mode 100644 index 4f946b8af..000000000 --- a/test/validation/Makefile.inc +++ /dev/null @@ -1,10 +0,0 @@ -include $(top_srcdir)/test/Makefile.inc - -COMMON_DIR = $(top_builddir)/test/common - -AM_CFLAGS += -I$(top_srcdir)/test/common - -LIBCUNIT_COMMON = $(COMMON_DIR)/libcunit_common.la -LIBCPUMASK_COMMON = $(COMMON_DIR)/libcpumask_common.la -LIBTHRMASK_COMMON = $(COMMON_DIR)/libthrmask_common.la -LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp-linux.la diff --git a/test/validation/api/Makefile.inc b/test/validation/api/Makefile.inc index 2a9ec2552..4af010002 100644 --- a/test/validation/api/Makefile.inc +++ b/test/validation/api/Makefile.inc @@ -1,6 +1,13 @@ -include $(top_srcdir)/test/validation/Makefile.inc +include $(top_srcdir)/test/Makefile.inc +COMMON_DIR = $(top_builddir)/test/common + +AM_CFLAGS += -I$(top_srcdir)/test/common AM_LDFLAGS += $(DPDK_PMDS) AM_CFLAGS += $(CUNIT_CFLAGS) +LIBCUNIT_COMMON = $(COMMON_DIR)/libcunit_common.la +LIBCPUMASK_COMMON = $(COMMON_DIR)/libcpumask_common.la +LIBTHRMASK_COMMON = $(COMMON_DIR)/libthrmask_common.la +LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp-linux.la From patchwork Wed Dec 27 11:00:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 122773 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2027515qgn; Wed, 27 Dec 2017 03:02:12 -0800 (PST) X-Google-Smtp-Source: ACJfBovJY3Kxm4r6J9NUYdzD/sWP69osjmNOmFkyl9d2T7iEHXTX9kYKSazZYSh72puxGs1wpnJt X-Received: by 10.55.38.81 with SMTP id y78mr20700135qkg.132.1514372532579; Wed, 27 Dec 2017 03:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514372532; cv=none; d=google.com; s=arc-20160816; b=lWIqMQ9ZfmWtZ/PuajpN7As+BZq09LDThN7wo81MqV/VzMgkd4lqmxfCeFX+WdtFGh MBg6plYPuyAD3UbimbuDMBol1KsaKxFYVQMrkTGosLMsmtzqLFE2NMAraRL4tuT8bzQc 2MSiNY97I6mZQc62GUNLhXD4vp6JFdZCULGJclxDZZF/T8FnWKc3Z6fiWmdu24/6bqvQ XOMDN7+rlp6yg+MqG4ltUnyECtp/HlrVNmEDxwXdvY+DJ75B5oJcee2Pblto6LJU3nQ4 qc8z3bQLcBuYHuhlQ0lk8eRd5BOWtefyDsgXlNRoYB8QLqX/wGLGSPRPD3IvUfFRpKbf SJsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=zw3GfutZk59ihtTbMRN1kDPhOIUgFfckHX+msYwTPZw=; b=Eq8nzxDFmTcyp8QfrhkeZTmOj5zz0ikwSRvEP0YMOuY7t7NCHX31oct3biFeg12n58 n/xpeV6Hmbe1QlyJySMBAfdP7hXZMEKaJcuKxh3yMSHFbHntnit6NgxwjlfQ6k4xTXZV ZpchcDgB2nyB4Vf+7p9AlLkF5wVWY6d35loYMCBrfKhqxtMj5k2Ghi6NqBW+pkPJCNiR sjc4QaL/Isrhnd81Xyaco12trmKxPU6tGJ/uivdz+7Y82h97tlcarKQEiTven4BHUIqA 9IHkizvBkrecmNZZq0KX5yScL4J9tdTQjs30E9Pmv56S5LInXkbEnFruoOdFhyBsoLV6 +puw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id t123si1572806qkf.99.2017.12.27.03.02.12; Wed, 27 Dec 2017 03:02:12 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 35B1D608B4; Wed, 27 Dec 2017 11:02:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0BE66608DD; Wed, 27 Dec 2017 11:01:09 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D70BB6089D; Wed, 27 Dec 2017 11:00:54 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id CF991608A4 for ; Wed, 27 Dec 2017 11:00:38 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 3F45B4083488 for ; Wed, 27 Dec 2017 14:00:37 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xLnnql3mX6-0bre8Rui; Wed, 27 Dec 2017 14:00:37 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vygUVW2kiU-0Uni8uAt; Wed, 27 Dec 2017 14:00:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 27 Dec 2017 14:00:09 +0300 Message-Id: <1514372409-29331-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> References: <1514372409-29331-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 369 Subject: [lng-odp] [PATCH API-NEXT v2 3/3] linux-gen: crypto: fix fallthrough error X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov GCC-7 will output "may fall through" error if fallthrough comment is present, but before preprocessor directive. Move these comments after endif directives. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 369 (lumag:api-next-fixes) ** https://github.com/Linaro/odp/pull/369 ** Patch: https://github.com/Linaro/odp/pull/369.patch ** Base sha: a5f07dbf95f982b7c5898434e56164ff976c0a0f ** Merge commit sha: b9298b6e4d26f720f422ca57f1ea911597c955ef **/ platform/linux-generic/odp_crypto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 69e6d0dad..2038aa46b 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -962,8 +962,8 @@ odp_crypto_session_create(odp_crypto_session_param_t *param, case ODP_AUTH_ALG_MD5_96: /* Fixed digest tag length with deprecated algo */ session->p.auth_digest_len = 96 / 8; - /* Fallthrough */ #endif + /* Fallthrough */ case ODP_AUTH_ALG_MD5_HMAC: rc = process_auth_param(session, 16, EVP_md5()); break; @@ -974,8 +974,8 @@ odp_crypto_session_create(odp_crypto_session_param_t *param, case ODP_AUTH_ALG_SHA256_128: /* Fixed digest tag length with deprecated algo */ session->p.auth_digest_len = 128 / 8; - /* Fallthrough */ #endif + /* Fallthrough */ case ODP_AUTH_ALG_SHA256_HMAC: rc = process_auth_param(session, 32, EVP_sha256()); break; @@ -988,8 +988,8 @@ odp_crypto_session_create(odp_crypto_session_param_t *param, aes_gcm = 1; /* Fixed digest tag length with deprecated algo */ session->p.auth_digest_len = 16; - /* Fallthrough */ #endif + /* Fallthrough */ case ODP_AUTH_ALG_AES_GCM: /* AES-GCM requires to do both auth and * cipher at the same time */