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 DF14643C12; Fri, 1 Mar 2024 18:22:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C232143482; Fri, 1 Mar 2024 18:18:12 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id AC55C43400 for ; Fri, 1 Mar 2024 18:17:49 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1dcce5e84bcso21116575ad.1 for ; Fri, 01 Mar 2024 09:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313469; x=1709918269; 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=o2/dZv4tXYcaE5nRc+9W8tixDh3nyUhSr+lOt9LzaCY=; b=Pvakrtf8JiPg1d/iLqxLhhMWL8XKpXPo8H6tc4FkKfwEhMXh6LERVGV8eZLNAIsqI1 FNMCMSyBhwZ/NSpJ+c0KNEdXpAZhGvN8j5WchsksjdzcCAu0OPWJNVQv2XeytDDtwANw rudTaeI5QfqMp9NFVBVTq8aNlKr/zhHsC3/C3vESIWOFbO2kXu86T2Erd1exNp01YFfM FDmhppslXlAA+6TRHPtjkJbtLILk76CanQfGmN8z+Qcq5TjTifsvlhaQtgXnHNQTPA+X 4CFxo+UpT6qVi4vuZu27CD5VVSyMauF+m7lrign6Ef/1St0xK6PObXtefpDAJnRyqYH1 7tsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313469; x=1709918269; 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=o2/dZv4tXYcaE5nRc+9W8tixDh3nyUhSr+lOt9LzaCY=; b=DhlN19pnf789GnOYBHYHDuJubSD/fa5q+hfoZaTTRtLlZub6OVjZ06mkeYWlUdu2Zn e2F0WZJjFLvEgd/kIH/aWvzzihg9W/lxk+6iNxKC2a+9spaGYMjWY/8bd8M1sDeK+PD9 P+9ski3Kff90jvOj41sjCBNyiTBBlxhpJI9tOPbyBsTNGGPVypWSX2qXijvrJZcbmSv+ k+nPNl4H/maOOqA4k6WQZm3yo+2V+B3kaxJI9Ij8n1uDkqUE9Hreo8wi0r8DMxG4kAue w+FyR340+9epVyxsptDDpFLa+qAnASCz7ATBgtk6lQ9sMSLoLECcHkElb/ZECrfMrTT8 aw8A== X-Gm-Message-State: AOJu0Yx6Q1YQQUU0P4CmeIYBCe4PvETDFxmBvxfH897O7h5ZGN1Ruc6/ eLwnyGzwDrJE6YDSKcswc/Bd5uVDwmh1qwaQns+CKHVrgyGU8f74z4adui3EG/0QSQm95gby8oE +TYN4Gw== X-Google-Smtp-Source: AGHT+IEZX98FY+ESMUYSbG3lYSLVkM/AxkPq/ft3cPqql+6h7r2P1zr14kVemQENAmT6XLm4aoOWeA== X-Received: by 2002:a17:903:11c8:b0:1dc:f157:51bd with SMTP id q8-20020a17090311c800b001dcf15751bdmr1601339plh.35.1709313468980; Fri, 01 Mar 2024 09:17:48 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:48 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Kai Ji , Pablo de Lara Subject: [PATCH v2 41/71] crypto/ipsec_mb: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:37 -0800 Message-ID: <20240301171707.95242-42-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301171707.95242-1-stephen@networkplumber.org> References: <20240229225936.483472-1-stephen@networkplumber.org> <20240301171707.95242-1-stephen@networkplumber.org> MIME-Version: 1.0 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 Automatically generated by devtools/cocci/rte_memcpy.cocci Signed-off-by: Stephen Hemminger --- drivers/crypto/ipsec_mb/pmd_snow3g.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ipsec_mb/pmd_snow3g.c b/drivers/crypto/ipsec_mb/pmd_snow3g.c index a96779f05942..f3f519f2d451 100644 --- a/drivers/crypto/ipsec_mb/pmd_snow3g.c +++ b/drivers/crypto/ipsec_mb/pmd_snow3g.c @@ -291,8 +291,8 @@ process_snow3g_hash_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, /* Copy back digest from src to auth.digest.data */ if (digest_appended) - rte_memcpy(ops[i]->sym->auth.digest.data, - dst, SNOW3G_DIGEST_LENGTH); + memcpy(ops[i]->sym->auth.digest.data, dst, + SNOW3G_DIGEST_LENGTH); } processed_ops++; } -- 2.43.0