Message ID | 20240229225936.483472-67-stephen@networkplumber.org (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FCEC43BAE; Fri, 1 Mar 2024 00:08:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F01AB43458; Fri, 1 Mar 2024 00:02:09 +0100 (CET) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id E7BA04332C for <dev@dpdk.org>; Fri, 1 Mar 2024 00:00:58 +0100 (CET) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5cedfc32250so1286508a12.0 for <dev@dpdk.org>; Thu, 29 Feb 2024 15:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247658; x=1709852458; 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=GHdnJw6wwF7B7iZ/PeJHD1EkHIyhK1xX2lT3kawF+kI=; b=vAF07Z80/50kp4eawpIv2iVdk2M2dgkkRvWs+3c24lkEiJV8DYPTyLPqErvy1PGPye 98RZSsV2zxm19Y3sLITV3wN9jrdoKX6Zluh62xy3Mjq11GsE/45kWtTU5o8hzPwrR0gl UoodBA2cx0DSF/3+rO3wv0ajfZBvgzcRJMtWWh7Yi/g9XURyaaITO3OB+H/l51V9VDiZ NlwyvTLQI1pZ1jx32h0MN0qK6FZUjYgkLqEoEC66G6/SRZDLQP2/l8X/xzHj7lZsVlDy qIsStx5wGDAHctelQ4yXUuZMigx+XcVBUknsJFpPsIpi+NNxmr7Cv32/+zGRV12T3tjI H5UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247658; x=1709852458; 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=GHdnJw6wwF7B7iZ/PeJHD1EkHIyhK1xX2lT3kawF+kI=; b=ri0mpyclFbVbCkeVN6YlIjfsica7xp8IvyMbH/g6SM2GS24ybzMz9tEiZeAlh8Xoi0 jC888SLaAkkHdBxBJZ9jZGYZKDzgUFg/BjGAgaVgAfj0P2B+g6mROJtyWtaRsRMPYOGV 5OzPG32u1kGF/efVaR0/CGKmmxMySfl8BjvOmFOs7crbY7zB/AmXMhIeZWTeDZFJrD53 XJiJrd3lYoCjIf65iTo+WZ616v/SshY4jXf2gHcATujxC5qg7rp8ROQx9YxMn9TlLdBo ghjF6u1o8Nsh7G569oh28Dw06e5yTHZD4dYU851yenBg49NCiqk7b6KI+oeZ6zb8rLkZ VAww== X-Gm-Message-State: AOJu0Yydo+Q1tKob9n+99OgkxTz1I7nsy/eKj9kpWe6R3mzigU5DOsd3 U66f1GEIKAs6pcOL3kBcNHuZDoWuhbk4/fsYq9IA08tuhYyNRlRGdaSKErDB4XkdmsQVYCmP3Ya eozI= X-Google-Smtp-Source: AGHT+IEgPOdB6fKWbuJMfIsmh3GJMehwd06Yoj1dwrntu+QtTh74uY5eUiKFm9ZVurXGtOTovF2hEg== X-Received: by 2002:a17:90a:d392:b0:29a:a37f:22c6 with SMTP id q18-20020a17090ad39200b0029aa37f22c6mr35060pju.28.1709247657274; Thu, 29 Feb 2024 15:00:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:56 -0800 (PST) From: Stephen Hemminger <stephen@networkplumber.org> To: dev@dpdk.org Cc: Stephen Hemminger <stephen@networkplumber.org>, Liron Himi <lironh@marvell.com> Subject: [PATCH 66/71] net/mvpp2: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:53 -0800 Message-ID: <20240229225936.483472-67-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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
replace use of fixed size rte_memcpy
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Stephen Hemminger
Feb. 29, 2024, 10:58 p.m. UTC
Automatically generated by devtools/cocci/rte_memcpy.cocci
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/mvpp2/mrvl_tm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/mvpp2/mrvl_tm.c b/drivers/net/mvpp2/mrvl_tm.c index 9fac80b867be..a5cdae6d1d0d 100644 --- a/drivers/net/mvpp2/mrvl_tm.c +++ b/drivers/net/mvpp2/mrvl_tm.c @@ -437,7 +437,7 @@ mrvl_shaper_profile_add(struct rte_eth_dev *dev, uint32_t shaper_profile_id, NULL, NULL); profile->id = shaper_profile_id; - rte_memcpy(&profile->params, params, sizeof(profile->params)); + memcpy(&profile->params, params, sizeof(profile->params)); LIST_INSERT_HEAD(&priv->shaper_profiles, profile, next);