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 DA0A943BAE; Fri, 1 Mar 2024 00:04:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 600F14338A; Fri, 1 Mar 2024 00:01:20 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 4A7AB432BA for ; Fri, 1 Mar 2024 00:00:29 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-29aa8c4710bso1170558a91.1 for ; Thu, 29 Feb 2024 15:00:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247628; x=1709852428; 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=hNByY0ZeiEgAdnprSb/4F6P/Cx3STSAclOgQE1DocyEQqa0mYl/ooANVfbpt1EoyDg CdQ808g4DtMvBvFYkWqSki4ldPhBqRV0CwXQHriwiT11k8+jdc9kgUo1sCDTq+QkaqnB PZkAKfaVi3J25YCX5w1xboLJi3JHfjc1PPJWsYAhWaXR6VOAfQqtWi/xsz78ZZ50Ypxh cYCAz/StSkkROCtWiLDpFGHsMzgyx301qTKbk/BSfE9s5av6IDO/H7mpmPES7GGkKD7r 7/rYuumZTym+riK1VmFlhs4lsBHYW2hoQXe1V0WQJIWI1wuC5J5lfEatL9zsBwnsSefM V3LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247628; x=1709852428; 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=Ce4UG+BVNlmeZ1+4IEmibnsXSvLU5k+Xna1QsiRVFIR0NghGwUZqTO6KoXVzXwZ+w2 aoIJxab6Ht3xPtbmNwq9LE0t6vVchFheNtWoR5YPPR9EHc/kFyOlYOVxfFYr1gfDxKYT 2MyWsa9FsGZdBA8EkdN7s/dHv6HF/WfckfybJYQHVvKBiZO55/AmxibxYQDESG3wkTld M8TbCkIwujJ57y9lZJKnYFC/qZzbXEDafIpxMXyPOqG25rBBChD1n15nJAePURO9Rmce upbP5fyBBG7DCQJup7CliHm8wTQ2gAkW9blhPhGzhUbu/JykVTsMmi65U8/R1thh/+aA GfhQ== X-Gm-Message-State: AOJu0YwLwjgvgk965NlgUHarvdzyj/LUqfPs1p4kLbFJ0guwrx/ANYc2 QEdlebZ7O+cCNpDlBWXorob+nUszWELRRZhIe36uiM15tud5XfZ7Ho2YXQBfPEtRbV+zcqOQQbO w X-Google-Smtp-Source: AGHT+IGVELTvW6ISEjTkLF5pBVbOqKZ6nq11xj3HMgW49hTh/xPbJaxRre9vyTfsDATjv1ViaRwxpw== X-Received: by 2002:a17:90a:4491:b0:299:3c2c:b680 with SMTP id t17-20020a17090a449100b002993c2cb680mr490242pjg.15.1709247628547; Thu, 29 Feb 2024 15:00:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:28 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Hemant Agrawal Subject: [PATCH 34/71] baseband/la12xx: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:21 -0800 Message-ID: <20240229225936.483472-35-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/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