From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7384345CDD; Sun, 10 Nov 2024 19:42:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 801C840672; Sun, 10 Nov 2024 19:42:25 +0100 (CET) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id 688A2400EF for ; Sun, 10 Nov 2024 19:42:22 +0100 (CET) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-7ee11ff7210so2894253a12.1 for ; Sun, 10 Nov 2024 10:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731264141; x=1731868941; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GDUTUtwdjFkVAAz/X7AYHA/KJFLN4v3VTc9GB5u5efU=; b=PNG6XKcc7G7UvDv05HwGoAeFD6Kc82iYzj8CZXJwYfTusI2zTN6kjAxGB7VX1w4ewy 8ZkfRF4p3En+4FYrQl25EpcNQbDTyzVtQwUFn1rH2ymLu19iUecS120Y7gMy4Bs0tRpa K3aM8F1MNsGjoFaGHUWmkNdI4BrQzzi/4M4mGPS5HLRtU6pnf22gmICqaEoalr++oIWX LLtb8DBySI8WY4O6lwkZ7WWkARqKmEl8Mj4iD5Mfur2qN8RTZDusouhRXG5BN3kNvda8 J59+Zg6shGbo3wd5QZSkrS9/xWkrV3jhSYuLe7tcxdCzMgaWwa1N+sj4jmOA1Nst2h/r E6nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731264141; x=1731868941; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GDUTUtwdjFkVAAz/X7AYHA/KJFLN4v3VTc9GB5u5efU=; b=oVdC1gNdxy2ogaeqU1M9sjaDH6fS2NPwtBlM5oCjwVOnv4aP8neCb/SBhewdAcxTQ1 Fw2b1WX82O+aDlLqPfSFu6MVZPGZdAjDOvAekLQT2Bcoi4xXTTppI6HRbYIr76Lmf98X uI3bfb4CGj2z/wdwmIBTUC0Vu1xez6iCAwOyG9sVm5Rcftyk2+WNhyLE5c3RY6ux2yi0 VZ5bojPDvtbrIW6PQbAuC/WGpXcwci95W3GPQ3UeT2Eg7dfag0BgYQif0xw3QwIUkDh6 bqb6mn7mXwx0JXvjTfSvSWeIH0AyHCJDkOCC4WPZOfag8TEugWcC+GeQTqdyvEOXNSC5 HXVQ== X-Gm-Message-State: AOJu0YzDM4gbwT7JqTGDD8Jq2Xk8KLhinXPjCtcNbPXHNqhg1HvW8aoG bmYFDol90tezSV9TyWGQwi/N6+MLgaza/al/1AU0VlZRcnttZ1gJB0346OOQt8yBUL5/p8HVhrE Q X-Google-Smtp-Source: AGHT+IEFdtlk0ndc1uORZdqHB7//7B9STq3s0WrOG8otCqofaH0x6imbbUn1DKmu6YOfdMo7V/AYiw== X-Received: by 2002:a17:90b:1844:b0:2e2:cd6b:c6ca with SMTP id 98e67ed59e1d1-2e9b17760aamr13729366a91.25.1731264141642; Sun, 10 Nov 2024 10:42:21 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e9a5f8f1cfsm7051480a91.23.2024.11.10.10.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 10:42:21 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , jun.yang@nxp.com Subject: [PATCH 1/2] net/dpaa2: fix build with Gcc 15 Date: Sun, 10 Nov 2024 10:41:32 -0800 Message-ID: <20241110184210.98650-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241110184210.98650-1-stephen@networkplumber.org> References: <20241110184210.98650-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Compiler no longer allows initializing byte array with string. warning: initializer-string for array of ‘unsigned char’ is too long [-Wunterminated-string-initialization] 169 | .vni = "\xff\xff\xff", | ^~~~~~~~~~~~~~ Fixes: 39c8044ffb7b ("net/dpaa2: support VXLAN flow matching") Cc: jun.yang@nxp.com Signed-off-by: Stephen Hemminger --- drivers/net/dpaa2/dpaa2_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_flow.c b/drivers/net/dpaa2/dpaa2_flow.c index cfbcb29df1..de850ae0cf 100644 --- a/drivers/net/dpaa2/dpaa2_flow.c +++ b/drivers/net/dpaa2/dpaa2_flow.c @@ -166,7 +166,7 @@ static const struct rte_flow_item_gre dpaa2_flow_item_gre_mask = { static const struct rte_flow_item_vxlan dpaa2_flow_item_vxlan_mask = { .flags = 0xff, - .vni = "\xff\xff\xff", + .vni = { 0xff, 0xff, 0xff }, }; static const struct rte_flow_item_ecpri dpaa2_flow_item_ecpri_mask = { -- 2.45.2