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 1F35843BAE; Fri, 1 Mar 2024 00:05:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61D65433B8; Fri, 1 Mar 2024 00:01:29 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 5FF16432CC for ; Fri, 1 Mar 2024 00:00:35 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-29a858a0981so1100082a91.0 for ; Thu, 29 Feb 2024 15:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247634; x=1709852434; 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=sb5rBdinnRC1Ats/IVCilK5XYF3UQ7Bby6sO8IAUAI4=; b=ZwzeIzVHZlC69EQu7PiMRH1BG4oNmSwubPrgBd5JOMJ6fNsMxiVBn/YeM+ewQ1UpzG 4WGqpjxb246tj9GLx00CyAnSAleFr4oyrH9J2ZFz1utESyY2dZlb/EUwiPbZT9t+ee5g 1HYVoviTk4VhzMH5NVr/C0XbZmpjhHS8T4R9NNgSxS3uVWcSAoFCguI1ltWOiL8Y+sT6 izbOtmGq+3/RWJF/g+v/5O/h+6YWpEhDL5F0RCOF5zykQtkwOPh60+H1Ac/ug6ME0dwO ywxEWLozysYBKh8msu9Is5+jS3l6w/sdd9AppIMb4nNcAQbGOKG2Kmvb/EixCwbkKSUK EiPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247634; x=1709852434; 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=sb5rBdinnRC1Ats/IVCilK5XYF3UQ7Bby6sO8IAUAI4=; b=XyP3VjBzMDCTeTYqigIChtWbZdwkWn3LB8uBkJ/c0Q8zGwdd9+ARNL02iFGgOqn/yQ mz4Mo75J0zzkjXUAOneoaH4qcjIsMRq3C0Y5UAyzdF+QVEjC2CHqMy2qhvcMX9nn9Xoc +9kNPtOjSDwiVsOEmYdFq1bEB6ygztng5De7auDyVzNax0mcylcWlZphiihv9A2U0GzQ og7pIAexMU16myUxOdRU4KJ4NDWA097ZXWURlVLa0ABGVsBJ31WiPOdlXTdjFSDKYEE0 iU5l3dppraDzffyr80Lg3+VNK/pVUB6dtWtajVB1yej6QuljgNTNmbq7iR0T+i1ebNG2 +0tQ== X-Gm-Message-State: AOJu0YxQl45AoIB2Q59xxfvcjd3ATZMFlwUOiweZWh+Iv1Y4a34tdbbh EByU//oIxqIWm9yxLmEmLQ4jzR83oZ920LxE+DZ2Uf6M3MDeq1JJnxTeuCUHv8jcknGtUhg6znd U X-Google-Smtp-Source: AGHT+IE+ZRHyF1Maf3PrGx2SxIyCO7V1IfEzbxR5NRxpyr4Ouix5kGTUSbrZc3mYgvBGSC4Ebq73ww== X-Received: by 2002:a17:90b:3585:b0:29b:f79:2b75 with SMTP id mm5-20020a17090b358500b0029b0f792b75mr43373pjb.7.1709247634015; 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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Hemant Agrawal Subject: [PATCH 40/71] crypto/dpaa_sec: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:27 -0800 Message-ID: <20240229225936.483472-41-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/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