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 3725643C12; Fri, 1 Mar 2024 18:22:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EB9143480; Fri, 1 Mar 2024 18:18:11 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id DD6CE433E8 for ; Fri, 1 Mar 2024 18:17:48 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d911c2103aso7697605ad.0 for ; Fri, 01 Mar 2024 09:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313468; x=1709918268; 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=yVL2RP/1kHT8ATMs47A2COgbtafAekxfII3HJGrOI0s=; b=oq0o7na9g2D0InOnBBhSRX6iJR3lIhaSytTaWMvbDkEtJGCJcG72aAvAB+JF4bvxCE jlFOVZK6cm/1p49Co81apuAavz4CSTz5SZM8k9N4nhaqyFkJyQcUFG6dXPziNXRFwbAe nLpmKK0aW4ULFQ7Wq6wVjmZN6keCoCrhFdA4niWeHFxxXWcmCMXnT0oxC7F7jp5KLC6Z mxI0o9Vljn4O/m7yWnZWZ5gdJ5/eJt5BKsX7iseCmllC7V/GMyUW0Q6/LWJenOrmZDC7 GYHcz1pMf3uFTVK/NlZ+U2dE7ocReisRpg0FhNtNGv4IXKlNicfFz5jCZ6C8xD8Lu30j WFzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313468; x=1709918268; 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=yVL2RP/1kHT8ATMs47A2COgbtafAekxfII3HJGrOI0s=; b=trE5KUzh4P6KXekBdyjCJ+pELa1y/ppydTulKK0b+gmWPgOiQmOMZlEH8YfW91LcqH xuqfB0FATfKu8zp1f/8sc7oHbrdfVRlMZlLhVkHU9LWVeJffNDtVUatqal68eXBAX2JQ aR0zw8bR2qVDSCvEVoPJHropBNiILNHcOk7PyqPxBFKlu1ACitYFPAw7+nKkgIjBT7w5 A7WMQZIx2ub+6BAlU2Cd4xnbC0kRlXo0PYqo3YrSpAEUk9suOPoEImhcuYuQ4QbbnUjQ u4ojAoTF+DnrEEoF9+k1pwCK2fSGYhrpHSLfJNcRQrBVP/cEvZMDhkS3SaEac4KkYLd1 gSaw== X-Gm-Message-State: AOJu0YwcdkOmds+qx8SjjU0qeCrFPnZEmXK0Hn28Fjr3HnckvBVS2v7M vRJFXD0bvb+1Y4DLm6waOoyxySCjEcKzLoP0YrUR1il024Vztj0/HOUnYnN6+YrRmQz6PfaY2I1 6/guBWA== X-Google-Smtp-Source: AGHT+IE2tS26w31X6CmmxGXNjJ504DG0b3+PV7IqAWxaReVUa5etf7u9BOWx+KWeQ3E3xw3l0JywMg== X-Received: by 2002:a17:902:bcc7:b0:1dc:20f2:77bb with SMTP id o7-20020a170902bcc700b001dc20f277bbmr2295075pls.29.1709313468169; 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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:47 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Gagandeep Singh Subject: [PATCH v2 40/71] crypto/dpaa_sec: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:36 -0800 Message-ID: <20240301171707.95242-41-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 Acked-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 44528eaf7f7a..3e7b78656bb4 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -676,7 +676,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp) } cdb = &sess->cdb; - rte_memcpy(&c_cdb, cdb, sizeof(struct sec_cdb)); + memcpy(&c_cdb, cdb, sizeof(struct sec_cdb)); #ifdef RTE_LIB_SECURITY printf("\nsession protocol type = %d\n", sess->proto_alg); #endif -- 2.43.0