From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 963672BC9 for ; Fri, 4 Aug 2017 13:56:37 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id t201so17958940wmt.0 for ; Fri, 04 Aug 2017 04:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MhxyAMISXLzkTtTJ8F+Xa/DHCiSrUdT92z4CwsQ6bMY=; b=aNW43flpehOJ7+og4jcbTFc55A8eKvFsQb0m5YQPgSSe4xjmj1I2Az7LmTP8KXib0H p7hnBxHEraGvDCZ8gXHN/onnVY04ieIARgQoGRW7WV5OH+HBO0GO5tOyNawQyMwMSXaX kY1RM4njt0YKw6TSpMorXtFu9cQ6PaAi0XjDWvOPhNRLmtG1ii4X4JQFohfIC5FlLJ8q 41xwOX7FINsqMCIVCISkChgqOVgPH9Bk3OOTZP/qHuyfHP6UK0WeRY2+NxbZiAE+pQ80 YTiVyT4eaMLCvD8BSEelodPfrIYqZlogETKPcfqaiMJzAphHpEC0cHu5Nf86rbusAbog NTNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MhxyAMISXLzkTtTJ8F+Xa/DHCiSrUdT92z4CwsQ6bMY=; b=FJlA7ZuJhu2bfni93/rEJ1QNv2A3D51xQ19BwPcdR/hX75rekGjt9MoG1bDyv0c37e LVu43sjW5LDIzy2DPTogT+r+VL1oREA0cLUgSEoNvhORxX5JX0R5Sof/lM+3U0laKrop GH/xBlxjW0hbZ13vlFeiedFbDKesBS+hZrfX32n8fmNPoBJDSw1S7dOBK3R4Qgmy67CS lr7K6rSra8X5t0NQJbtK106GnLZvmV6d91X3ZzCh0vVdXG4ZBGgUWC7p7eVVZP8Nz4ig UIGTJF3nrTsrKzoGR1BbKxEG5Q/TwyLrCxfNNNKg9wAynMGSqmzZGBBzKxNMaJ5L11lm ilCg== X-Gm-Message-State: AHYfb5hVAKSgF7A48cVWn8EB2LKIrr6EmpUsGyrngqqFGGQKSz5hyta0 cyLreTfIdNs8sLCU X-Received: by 10.28.134.201 with SMTP id i192mr1149749wmd.124.1501847797401; Fri, 04 Aug 2017 04:56:37 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 60sm2901983wrd.20.2017.08.04.04.56.36 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 04 Aug 2017 04:56:36 -0700 (PDT) From: Adrien Mazarguil To: Thomas Monjalon Cc: dev@dpdk.org, Pablo de Lara Date: Fri, 4 Aug 2017 13:56:22 +0200 Message-Id: <61d6d83aca3273eb3ed0b6b204cf0c6fb131d635.1501847638.git.adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <55d8f7ef02866b9ab921656e9e9e4a43d09f3c50.1501847638.git.adrien.mazarguil@6wind.com> References: <55d8f7ef02866b9ab921656e9e9e4a43d09f3c50.1501847638.git.adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH 2/2] cryptodev: fix C11 extensions in exported header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2017 11:56:37 -0000 Fix issues reported by check-includes.sh: rte_crypto_sym.h:586:3: error: anonymous structs are a C11 extension [-Werror,-Wc11-extensions] rte_crypto_sym.h:510:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] Fixes: b59502a5e3d0 ("cryptodev: add AEAD parameters in crypto operation") Cc: Pablo de Lara Signed-off-by: Adrien Mazarguil --- lib/librte_cryptodev/rte_crypto_sym.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index 58a33b8..0ceaa91 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -507,6 +507,7 @@ struct rte_crypto_sym_op { /**< Session-less API crypto operation parameters */ }; + RTE_STD_C11 union { struct { struct { -- 2.1.4