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 CF8DA46148; Thu, 30 Jan 2025 09:02:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FBE740275; Thu, 30 Jan 2025 09:02:53 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 52BD340156 for ; Thu, 30 Jan 2025 09:02:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738224170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EJxjUtE8UOz7pS9dXDIWw7XfrxeG5cDg6qD2SAqA1dE=; b=YZ/jVQeQeJwjtbjbgoZOHxo2wbwCZins2KaBY6OM0HGfZ0NG1Blj50k6qvZquFiXULT9MN QWjXCl7vVFupRFpnW9Jvvq4cmLQUd/q1/CUBJm3zfFrhLxHpSiLgkXiGdonI2CK7otSLwS GtCs/YXZvX71nSLDhCmLLDhzixH501M= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-660-TRgw1iSNPli6WHv0TWSNhQ-1; Thu, 30 Jan 2025 03:02:39 -0500 X-MC-Unique: TRgw1iSNPli6WHv0TWSNhQ-1 X-Mimecast-MFC-AGG-ID: TRgw1iSNPli6WHv0TWSNhQ Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-54019e668bfso275071e87.0 for ; Thu, 30 Jan 2025 00:02:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738224158; x=1738828958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EJxjUtE8UOz7pS9dXDIWw7XfrxeG5cDg6qD2SAqA1dE=; b=IJLqSuEfW9pyYl8o+ngunOt6N8pErWQsVd6E7t3EvqBXBsChYXVdI9V0V9VpdixDh9 m8joJXoPVUh/s6gUFfHQfHE78URb7tyDV7Fviwnw6/AESA296SnYJns/K7OXfxvGfOGK msQuC9Un9zSgW3COfGpMthul4pnM4hHnk2JCWLWvBxYbcD2GzGQBBWfkwRnBDoy1x/vE wHRV5jR2dq/D50EZcKGhpAiPAqtwgSnydVzO+k4VRPSX3TK8oduDVSQfwuRnIUinrkWI rV7LX2DRA4dDXhl8QuqujG5J3uJPWgoJuzgwSTQqJTETkQNG1wYWL37yCnIlJ6w38DoI JxMw== X-Forwarded-Encrypted: i=1; AJvYcCV2ignG5uMlh23z4oX0haUgf84cZpZ9eR4qTeIH04Nb3uxSzr00DXKPSEW4snt+cNPsLsA=@dpdk.org X-Gm-Message-State: AOJu0Yz8psFSC8C9fX1lELTSJTA/Sd4eEP9b6kC16YxZ//YxX2MQz/Vn ktKP2BaU6FlU5riUoEQlHyN+Yhc7e3WtcXJ/Qh6ag+Up9J3CiGCwTVc6Wv/d12cJ/sdXWgBu3Qs OKxBe84eoZIn9fxawAifJqvq37ab4Uz/tVrtUmDfwTp7X1UNXv3gBketazYPa71vpX1VRbFUagK PjbZ7AVSWn+t9aoN4= X-Gm-Gg: ASbGncvh7M+oi/gM/+DA22vwpN6l7mfMARcaD/oasXMtOZsI6QtnTQDm61nXI4/t8o8 BayYDdpctFip/DKKUdtwWiBrbC9LLTh8tjuk0sjH1nJOstXugTKdLmRLE2uS53VI9 X-Received: by 2002:a05:6512:68f:b0:543:c3c7:b3a8 with SMTP id 2adb3069b0e04-543e4c35b27mr1615404e87.42.1738224157919; Thu, 30 Jan 2025 00:02:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8M6SVWdjb1VclHN0+w5oB9/VhJc3JkNijhMZK3NBCZkIiB283xjtia6vWBfyX9kgS9zeLXccyc83/Ejs9k1k= X-Received: by 2002:a05:6512:68f:b0:543:c3c7:b3a8 with SMTP id 2adb3069b0e04-543e4c35b27mr1615388e87.42.1738224157537; Thu, 30 Jan 2025 00:02:37 -0800 (PST) MIME-Version: 1.0 References: <1738172139-31201-1-git-send-email-andremue@linux.microsoft.com> In-Reply-To: <1738172139-31201-1-git-send-email-andremue@linux.microsoft.com> From: David Marchand Date: Thu, 30 Jan 2025 09:02:26 +0100 X-Gm-Features: AWEUYZnX4hn2yV-HTXOGdz4B7ITffgLvObl_MDbKBbgPaEW9_E21CoNyj4ehnHA Message-ID: Subject: Re: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le To: Andre Muezerie , Ali Alnubani Cc: David Christensen , Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad , dev@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Ubvqtv6W3k8SukLGvhtBSGe1w7mD3Auymbz9p3LiI0g_1738224158 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, Jan 29, 2025 at 6:36=E2=80=AFPM Andre Muezerie wrote: > > During a recent cleanup a few lines were missed which are causing > errors on ppc64le, like the ones below: > > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h:77:17: error: cast discards > =E2=80=98volatile=E2=80=99 qualifier from pointer target type [-Werror=3D= cast-qual] > > lib/eal/include/rte_common.h:557:34: warning: dereferencing type-punned > pointer will break strict-aliasing rules [-Wstrict-aliasing] > > Signed-off-by: Andre Muezerie Thank you Andr=C3=A9, this fixes the build error reported by OBS (I tested with my dpdk project in OBS). Ali, I'll wait for your test report. --=20 David Marchand