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 CF4F943BAE; Fri, 1 Mar 2024 00:05:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBBFC433BF; Fri, 1 Mar 2024 00:01:31 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 2199F432BE for ; Fri, 1 Mar 2024 00:00:37 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-5ce942efda5so1192355a12.2 for ; Thu, 29 Feb 2024 15:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247636; x=1709852436; 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=bUU4i4qMxJv3N86YVJkAI/bvO0YLU/y+TYjVXLi5RdkfEIUl0fdCKHnUdlMPDEMCrW XAQTRSQ/n0oP3T0QWRs9FUm1ApVsTarERpsjOBFmQsVgo+6dAK10x6a+aJ+1AXdr1997 o/RJJ9AJhg/D/nxA+L0JZVR8lUw8Qxkcoh/UZMJVHdrvJfXUcRzrTZBO+ZhVXSq9MlYZ EA8rcqVI7Hdm01aSYJqi3TckXzTIQh7BuXOkMvO0rfX4W0EKaLdz9P64oFqT8jY7NwqS 3qtrR8f8hGcNIyeM3BRm9fwntZHQuXRpaB+wdr+5SJnIxjt0hPJhOqMJWvjDhPMH5RnZ YBpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247636; x=1709852436; 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=M44ByG/2KrUqBiqxUc8QPNvbUIotm1l1IGj4E19GBvGNwnSf5OiLBhVt6oU5ciJQi8 EX4hFeyEU5AoNzinmoUdhC8vhrB3NbAS8MbojTzs7VgcqGlF9TS98XrUfyBoFCaxwa84 lFhaNYW+/VC2h3AYSvonDpdKk0m+6m1Pa9RTLE1wXI7BryVee1ihiVxsPYl0wD7BWV+0 goywo751sNxBnHu6I92PF+Guz/q+hA5EJBi/1AE1rcokc/w2LrrLLqqOs8Y2ZaLLP/oe Ke2QKiPiQgGA3+hg6Im1HTO39jBoxy7b5nv74ef4jWTv7XmABGiQZpDpwvKSRHQIAyRC 1Nqg== X-Gm-Message-State: AOJu0Yy+PokX0rtZxLyBmolYhkug8PsKOoO2C9XnhSgHWXcOBmzRGvBR MkLVyFIwdLxND7N45UhXxtjLlxFT+wiHYrqXaXngmAyBAqPzmECtHfw477lTRF0RTj+O8BnXlmL I X-Google-Smtp-Source: AGHT+IGPAXLMvK59ekRAXrhUUtd2Xvm3KZbTUGG4miooDrMvnaNirpfXb2EePL4dzngHEZMWUqsTig== X-Received: by 2002:a17:90a:a893:b0:29a:9b11:9a5a with SMTP id h19-20020a17090aa89300b0029a9b119a5amr13124pjq.43.1709247634832; Thu, 29 Feb 2024 15:00:34 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id l22-20020a17090b079600b0029a8e5355fcsm1965578pjz.53.2024.02.29.15.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:34 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Kai Ji , Pablo de Lara Subject: [PATCH 41/71] crypto/ipsec_mb: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:28 -0800 Message-ID: <20240229225936.483472-42-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240229225936.483472-1-stephen@networkplumber.org> References: <20240229225936.483472-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