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 61A6243C12; Fri, 1 Mar 2024 18:24:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41ADC43508; Fri, 1 Mar 2024 18:18:44 +0100 (CET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 1D4864347A for ; Fri, 1 Mar 2024 18:18:10 +0100 (CET) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1dcab44747bso21669455ad.1 for ; Fri, 01 Mar 2024 09:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313489; x=1709918289; 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=C8oZvBKRUSCfN44wtRbMgvl8yMTUJo9niOEvtesJcLRU27DO+DyTE5MyyEAhy2e8R8 x5GRb+099nt1SJWWg0LoBhwcQErdBpy1Bf02Y4H69zOfFzgEsxAEE8b80zvWutfyzeXS yFuHnQeyVyUcQA46DTSwSWoE0kH6uynPQkZGqJ6Sz9WPgr1MaMx6ALjpnyYpsPsJsOJD 1gz0esWJx9dUiaDYhQ2tjpJzojRkUpDUlPvMQntq9b8sRrEF9G0sU337aU9/uMfzI6Ff dHq0hPgn/f/HkFy4bafJ5ovkTmGFUu+Umz0zuDbX6BvVrpjKvzTZH/7c7hlNRzpANy1a cimQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313489; x=1709918289; 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=p+Jf3gBTM/fF8LmqtIOBwruS3+tCWcOvni5wLlMrzaKjPyobxH0+N37mKKGVfYCwCy ZOnwdXYlnUQ7JvahlIP6P2ocQxn0fQfhan57zhcKFKYKfCULgHOkoQgHAG/1mmZCzQVn mmssxY7rJGnkWx+i1L4KsrSj527QDPgnXY0CwEjYMSVcSpaSSWlCjsfiBm+8kphRlr+2 cjE7AU0BmaMBhUV0f+kDllor+Blyk+N/s2oISXzOk4nHibwm6jfiK4I6zsSsH0ZwkC+1 v97alViee1luOyBMjdOYzbc3ZLF0GaVkRE3iz2Thisr8fh2GwEgFXNmfmrkNt13TnteG 6rMw== X-Gm-Message-State: AOJu0YyGAyNPP8cu79YmBKsZ6BlKbvwZDcPv6Dro6KV1wldxKXvAbUKJ D7I9cVYZ78ZmKhOt3JFfL3l3L3ciHzrW/9wtWW7IAMgFq/1pNoWhqgSOqukoHFM6+Eq8ddbV5HW OTbOUFw== X-Google-Smtp-Source: AGHT+IGf0eE3f2fi90CdfdGy6dZpigVMuNTaMp6o7FkpCoHu0/7y3hunAc66sCX5Zhl5ibz8Zqyy/g== X-Received: by 2002:a17:903:1c2:b0:1db:fd4e:329f with SMTP id e2-20020a17090301c200b001dbfd4e329fmr2327155plh.15.1709313489335; Fri, 01 Mar 2024 09:18:09 -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.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:18:09 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Liron Himi Subject: [PATCH v2 66/71] net/mvpp2: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:16:02 -0800 Message-ID: <20240301171707.95242-67-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/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); -- 2.43.0