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 2226346148; Thu, 30 Jan 2025 09:16:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1336A40652; Thu, 30 Jan 2025 09:16:03 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id BF98640658 for ; Thu, 30 Jan 2025 09:16:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738224961; 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=JIbG5RvMaQjFjeZc2ug77wmgfOSYFzwYCLhJhFfvywY=; b=KXyKIi/iNHAvnsC1g1gyox1oEpg6rkMVOmg13A2yXQQ3zehXZqvQ/oxAwacJPKgOvTHhWi DNs2STmRcgz4Edrr96IINVulEGeFlVNMTVLj8/EnAXGGg+FJ/owmP2DSYCQ+zN2X97E0YG eCuFUfJ2qFyRJqHihFhUPMYMtlDE6RU= 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-571-CStR7LuKNLGrpD0N9g2lkg-1; Thu, 30 Jan 2025 03:15:59 -0500 X-MC-Unique: CStR7LuKNLGrpD0N9g2lkg-1 X-Mimecast-MFC-AGG-ID: CStR7LuKNLGrpD0N9g2lkg Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-53e1bddea1dso244677e87.2 for ; Thu, 30 Jan 2025 00:15:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738224958; x=1738829758; 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=JIbG5RvMaQjFjeZc2ug77wmgfOSYFzwYCLhJhFfvywY=; b=vKK8jqP2BaVgx3QtMnN0uG5/IYti3pbyOdJtortaXGzNqoZuTJzk298y9vcIxw0nP+ U56kBeKFtj+nX1lXLCLdfkcQ5X4QhNM+U2UFVZ5wlQiu6xDGkZbsapeWkonQKYzeUBBd za5dwlzNCYeTvyh4UO7YZUU845rc1AOv5nFE4+liIJ+jfmaVwaQ/o/bizv/ww1MU2hQT vwx46EiVNP9xwLWdpq2bHAAMlzPWEM1/YeoYQPPrfQWMfHwC4N9gNuxGLcNRe7c7VETI +weqH46QwkMsZw0aW+Y3pC4B6mtIOsZhou2v+TjsWb1fKVHj1SqoQrTTci4hAnIBhs8V +OaA== X-Forwarded-Encrypted: i=1; AJvYcCWOATMDWewBSWOjW0unt3KYXvv9WI/TOGSB2Y189hF8mgbbxRddLQPAhU9rBSHiN+ns30U=@dpdk.org X-Gm-Message-State: AOJu0YzXtVEYaht1+b0c9bCt/2sYsohgpMuTUPw/wh667UfGVF2RfJpp sQrLtoIAwnxtuVVRks7itaRxiCVIsXNwNKt2tu8KDCXSOvDyGTMRlnZIQIS5YeuG1QyD+wa82sO /DH9AmDygS3kRxVEW9wuQ215cZ03sBsbQc+f4S4ZfCicH5hjgvusXOD8qrcraEhpF4qWfQZC7Ns OK9mC70xmA7p6LGko= X-Gm-Gg: ASbGncueSMj+xSgzQKH9Mh2i6Uy6EkFEgAByfh4JbwlRvRMG6+OOiVaw3EZ93efhOcl jpU7lvlwFH7XHl/fRjxKhA/99mTxz5J0qBB/mdEjxTdt+QIZO2KUgHfnvaO16Hpsf X-Received: by 2002:a05:6512:138a:b0:542:9883:263 with SMTP id 2adb3069b0e04-543e4be9c76mr1961083e87.14.1738224957977; Thu, 30 Jan 2025 00:15:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXB0XGXYL9fZruKto/iM9loutjLK2vbCCPV6gXL5Nwc9r1f5LEVuR7YVJKPbA2YqHnf5TkUhFMNUgcMunlELQ= X-Received: by 2002:a05:6512:138a:b0:542:9883:263 with SMTP id 2adb3069b0e04-543e4be9c76mr1961069e87.14.1738224957619; Thu, 30 Jan 2025 00:15:57 -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:15:45 +0100 X-Gm-Features: AWEUYZk1idEpEvKJ9Qwm2i8dXEqp-iEXF0sE9D6nsveo-bUXbZyhdogoPL7raC8 Message-ID: Subject: Re: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le To: Andre Muezerie Cc: David Christensen , Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad , dev@dpdk.org, Ali Alnubani X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: SrvevRhMAyKLI5GSCVTOXgPVnX11ek5hngjj0d-xXJE_1738224958 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] > Fixes: 43fd3624fdfe ("drivers: replace GCC pragma with cast") > Signed-off-by: Andre Muezerie Reviewed-by: David Marchand > Tested-by: Ali Alnubani Applied, thanks. --=20 David Marchand