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 E499F43C12; Fri, 1 Mar 2024 18:21:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B81B43461; Fri, 1 Mar 2024 18:18:04 +0100 (CET) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 35DEA433D0 for ; Fri, 1 Mar 2024 18:17:44 +0100 (CET) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1dccb2edc6dso21728665ad.3 for ; Fri, 01 Mar 2024 09:17:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313463; x=1709918263; 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=Orm/qFRDO0ClXKFHxnQCXc+zrpbQfCCDz7is4dR9wn8=; b=YVz/28plEDuKYLEzwFG56WnS5Cjw/u491fLBi4bflVZ1BBo5OyldfV49g7yGNuayRU 8JKXsl0DxSb9TGuwBs7e65zRjNTS3exiZF3vM7N/qOZS/nXyr2ghGSrLgxKo66+ilVOV yBvQbsIOTh7wLTyyIvBiom/K0EjZ/reHd8AhZuSuQHWPhVQGbeiALxMXNMyG+SKnNld7 XYT8NlyrLI0xirMzS5AF5GXuOf318s26zfUZVUSdTApzlUrNrLzE6kkRPDQwN6yKO25/ fep66e5WfppqDiyQ27hW/zq11cXvOk1UswQFPJWR28KrldMoXPUKcjp5ZsmCeIS8M4Vh i4Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313463; x=1709918263; 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=Orm/qFRDO0ClXKFHxnQCXc+zrpbQfCCDz7is4dR9wn8=; b=hnzYXD5ZhUOI6YXDEy969h1VH61pr0dXILiUBEfOXIAdWfYK+3OQzQVUuyVVWewQ0P lK2NBUlKabMu1eLqaRgiH7uJ4n79dpE+mrCaXZ+DeD4yluY7FVR2d0ZJNqHiHg7B1FlS wmKdTliws4UmiolukK0Ge6tNoB+hVG+bvpb2Hhb+IoBbspBAnbgsp2CmkWCev4Tj5fDX ROyd6vn/os6d+30QEKBGdhXFg+JmLVF3QaU1L5EJc8gz3sGLdwiEIXGW8Wrfw7ZrIaII L687PssSXAdhje/LcKsAQcLt4DyQM/k9kW/J8LLp9ZGHHnENZcEeg8YbbUB/v5mZP8MO pqkg== X-Gm-Message-State: AOJu0YzMBnkgdl/cuvDqdgGEx2C4/rDmaL3JFqBeF0uYe7IQUPbxmSaF IRlbWY7czBamCdSKJI3J5hDvk8JAK9In0/2fAXSuVVhPtP2HwQNaFu3jZKg8ORrT552FCqxxV5f dL2gXgA== X-Google-Smtp-Source: AGHT+IEeHwZCeiKtw5j5PfUe418iUAE5nmpk3NKiLQUuOaGaCmX6Cw8ZK8J8O81mGNDvXsCKDVUqjw== X-Received: by 2002:a17:902:c40f:b0:1dc:aea:10e1 with SMTP id k15-20020a170902c40f00b001dc0aea10e1mr2024478plk.54.1709313463508; Fri, 01 Mar 2024 09:17:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:43 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Hemant Agrawal Subject: [PATCH v2 34/71] baseband/la12xx: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:30 -0800 Message-ID: <20240301171707.95242-35-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 --- drivers/baseband/la12xx/bbdev_la12xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/la12xx/bbdev_la12xx.c b/drivers/baseband/la12xx/bbdev_la12xx.c index bb754a539580..23e2fdb81116 100644 --- a/drivers/baseband/la12xx/bbdev_la12xx.c +++ b/drivers/baseband/la12xx/bbdev_la12xx.c @@ -597,8 +597,8 @@ dequeue_single_op(struct bbdev_la12xx_q_priv *q_priv, void *dst) op = q_priv->bbdev_op[ci]; - rte_memcpy(dst, q_priv->msg_ch_vaddr[ci], - sizeof(struct bbdev_ipc_enqueue_op)); + memcpy(dst, q_priv->msg_ch_vaddr[ci], + sizeof(struct bbdev_ipc_enqueue_op)); /* Move Consumer Index forward */ ci++; -- 2.43.0