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 AF6BC43BAE; Fri, 1 Mar 2024 00:06:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 771A3433FA; Fri, 1 Mar 2024 00:01:40 +0100 (CET) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 64044432EA for ; Fri, 1 Mar 2024 00:00:41 +0100 (CET) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-5cdbc4334edso1080819a12.3 for ; Thu, 29 Feb 2024 15:00:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247640; x=1709852440; 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=8vcCsDhuWsN3glG3aolJk3c1HTMjImo/ucYVrTc3AQg=; b=FY9TrJj/jzCKVmouMY0Hg5+ieLaYTotd5mz1RNfH1KXn22cWDStE2MqJtXVMfovfSc ljjx73DSqtfonrgAghZ46oJS84tE7sanOvZYL8MCSob3anrLYOX6f87LmsGa+nwlCiXy g/Bvxia4954ZUoi/LRQ3+r/v1ddya/bMpWlVrQE2HSWE7IemTyemJQNIM5yaErpFLsje kKlr7XYlfuo3diiAsMHcDdOv5ci8yTfy1FriYyGSqYDDexbZkSFL/4IKX2nF/5Ju+CMA eyY+6JflblLxmWdazHkgsJKk/tGoUdUCt1FVtci2w1LN/3LR2d+w455ZNqabOXb/gZzv du1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247640; x=1709852440; 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=8vcCsDhuWsN3glG3aolJk3c1HTMjImo/ucYVrTc3AQg=; b=UchzLbvQygYkaV3ppBm9lVPQsR3tOBaMcl6UdXc1FW1b0LCErEK/q+AfwN6reRavbK F9N6NTPW716YrFbHzBx7eCwBHhuWb9UvWZ20evQiMrAFBvrMGaFe2pJYo0032TannEAh u/lewEsMah0h3LxJY1/yx+jAaso4cU18l5zQm1luEB12aWQ7Mq8p3uMBKKjeN/e4HRR0 JahNRxqVG4LZCt2oewfYTLoxLe49wQPvZlorTlc8q8EK6sq+V+9ul3L6W1pGnsRJv6kq cGF3zeCqV0Vd2QpHj5LO+qequs+M/tIJpgBExYTDJll9KhI5IncnLIIR58MGlYgUy/rz 9BnA== X-Gm-Message-State: AOJu0YxH4qbhK7Ll6ykMIy1gtbCl00Sv4JgcwzSvNVdAFtdKN78pvyXV dUd5RfvU+0POSjqlT74sej1KCyQOUGfbRj7xEuHodV3T9PL4ShVT89U8LULv8UVxoQTIw3amHV/ l X-Google-Smtp-Source: AGHT+IGZ1E7OtgIgdndhxGJ1vp5Z2G5noVjDHEAuxVQkL21pdf+rg0GbNk9/FRb42kOuxzvVydNv3Q== X-Received: by 2002:a05:6a21:318c:b0:1a0:e839:abf with SMTP id za12-20020a056a21318c00b001a0e8390abfmr4420525pzb.44.1709247640479; Thu, 29 Feb 2024 15:00:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:40 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH 48/71] mempool/dpaa: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:35 -0800 Message-ID: <20240229225936.483472-49-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/mempool/dpaa/dpaa_mempool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c index 0b484b3d9c7d..f72b51b47271 100644 --- a/drivers/mempool/dpaa/dpaa_mempool.c +++ b/drivers/mempool/dpaa/dpaa_mempool.c @@ -115,8 +115,8 @@ dpaa_mbuf_create_pool(struct rte_mempool *mp) return -ENOMEM; } - rte_memcpy(bp_info, (void *)&rte_dpaa_bpid_info[bpid], - sizeof(struct dpaa_bp_info)); + memcpy(bp_info, (void *)&rte_dpaa_bpid_info[bpid], + sizeof(struct dpaa_bp_info)); mp->pool_data = (void *)bp_info; DPAA_MEMPOOL_INFO("BMAN pool created for bpid =%d", bpid); -- 2.43.0