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 1248543C0A; Tue, 27 Feb 2024 12:27:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04891402A7; Tue, 27 Feb 2024 12:27:35 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 4318F40150 for ; Tue, 27 Feb 2024 12:27:33 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 2D42F208E6; Tue, 27 Feb 2024 12:27:33 +0100 (CET) Content-class: urn:content-classes:message Subject: RE: [PATCH v9] net/bnx2x: fix warnings about rte_memcpy lengths MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Tue, 27 Feb 2024 12:27:31 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F275@smartserver.smartshare.dk> In-Reply-To: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v9] net/bnx2x: fix warnings about rte_memcpy lengths Thread-Index: AdppbEFpQqJsYVU7QIKxRaRxVGeWCAAABnsw References: <20240223140056.130844-1-mb@smartsharesystems.com> <98CBD80474FA8B44BF855DF32C47DC35E9F269@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Jerin Jacob" , "Raslan Darawsheh" Cc: , , , , , 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 K1RvOiBSYXNsYW4sIHJlZ2FyZGluZyBN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