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 4547243C12; Fri, 1 Mar 2024 18:22:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53828434A3; Fri, 1 Mar 2024 18:18:21 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 2FCB64342A for ; Fri, 1 Mar 2024 18:17:55 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e09143c7bdso1809304b3a.3 for ; Fri, 01 Mar 2024 09:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313474; x=1709918274; 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=eBMV5Wv9ynO0fn/7j9CxEyEvP1Cb2sYzuB0817xSmjM=; b=S8jnv2txbQYy6JaG6lWyAB5AR/J9OpSLnEPchOB/66vAKpBU4CNysrVSb0RXBQq7bM Qag2fjOAjc00e8jsjDAf6ROJ+yW/uI7yf22lWVCvwhu9fqdQSBIUSK/e9m315u5F12+g GZLXzAeRYn65fnEpWlIiUguscFiqCDwf7+q33VYbUFx3mZkBmnjPcOzp+O0hNEjWHGMX GhldfSrf3TYdIxKD9hD/AmSpq37fgSHx3rKpaHoOOJ+nrsnIPSbqRwF9RMrTsnEqkgji TE/kkU0B7GL0ZOTSR+/VSQunA7lioZK68NnEYsm3FqTsSWQtNvBqDTnG3Jo6zhj9DNm6 8i6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313474; x=1709918274; 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=eBMV5Wv9ynO0fn/7j9CxEyEvP1Cb2sYzuB0817xSmjM=; b=s11QiNGlVMkPKuM3KGpOufQIC+iO292GSeIbShP5z9+dcbXrEQ9MNrY7K6OFUECwS5 G9wol7XgogweLK+lDKjbLmFisjyfADuPaYSXbds87Pi8yAeCS7HmIGTqeamYda/i1+Gh FSbYQ1t3zN09bqCkpBbbb+ydYGk0eJ8GceBmS5cmzG9pFFhpOfydtI/erZ5PUxZkVgYE fkh8Pw5Ghue2MJbjN7azK+Xs2VQvJHDl2Rchmh6cHJ3eTpGEJXcLMZDnkzP7+Z0zGhDq Vxu5QyhXygvmBz0fUhNTZBqwc6jpUdP3dLE41Wcq8nQspvJxgP8xpawdGEbRfQz9X4Ix 8cFA== X-Gm-Message-State: AOJu0Yy7uuKIuflNLWsb+w/Wq1Q/w25gY5U4NW9u2XIJfKHMOF/Y9v/m c26ZvJbW41ayDtLF2QOr6h8fewkx6Wjo81NAyZTNVw6VmLQfnYvkU2yaG9peMROwCy0Mu405KeL XHaGOig== X-Google-Smtp-Source: AGHT+IFedbhYmo2sjOmej6m9V64glt6NdIrKAydtm0o47hSceHpVTa5VYo+KJv98ncjjo6+gkdPjCg== X-Received: by 2002:a05:6a20:af93:b0:1a0:f0db:2245 with SMTP id ds19-20020a056a20af9300b001a0f0db2245mr1883042pzb.54.1709313474417; Fri, 01 Mar 2024 09:17:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v2 48/71] mempool/dpaa: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:44 -0800 Message-ID: <20240301171707.95242-49-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/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