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 32CB143C12; Fri, 1 Mar 2024 18:21:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F266643453; Fri, 1 Mar 2024 18:18:01 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id A49DE43308 for ; Fri, 1 Mar 2024 18:17:42 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dcad814986so20731095ad.0 for ; Fri, 01 Mar 2024 09:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313462; x=1709918262; 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=teUGuCMa5oE2y6ygxjJUYiCErkP2+/WR1Ef3UB62su4=; b=ugQBFZBn6stoCtvkMM5efJ1vgnwwsS9OzhjGs3B//XJFKqRMMo7U0BkCeqReXNZeA4 FdKxoO+pffV24TOKYvWWtH5Jf+6adcm/4RmcWezWTq/FV2dy38iWwihFj69yG94kFBOe /uKxYdD9a/14ohu/29Mgc+pPuy/5EpAe+0tUL5+Ma73CrcPZMFpOl8KDK0fXxq50doa5 83E/Q5dh5EBVXXz1aIrstCcZ3shwSHGPhHpW1z4D2ulNgemyeSXARgLM0GNfO7fQISMF GIEUy+MPFoODD9keuL7DfneXU7H/w3yvk2CU+W73hZY/FC9SVE3Q7bMm9ld6hNQ9lusx Kz7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313462; x=1709918262; 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=teUGuCMa5oE2y6ygxjJUYiCErkP2+/WR1Ef3UB62su4=; b=rckK4CKM3QOet9HFb8svrDiDbV5+EklgekM3QC1asmKOHQYSt237ktMFOjxJxH5MDC veshXu+hEC+rbLMvSDLCGLZ9UoVPDAiV1c+pZSUHcm9sdjs5oGd5Kxkm4aNDx9w/XH35 4D9LqirSvnKsPZjoq4f+3Jg4JyX0CBv6W03kP8jrNBkmkNiRdf3JawFNBJAYEwba2PHJ mqtDIljUOpnZyz/ZnmHtO/KQFm3zkEZCSSFlicpYKzXnG38X+sqdn2NGkXQUNUe61J8d 2KAVHtoMo2ew8zgGDfLiJ5+1HPvCRTB4EkFTQ+Jhk6100FWLhRto+2GlFilmIRyasXcm RFrQ== X-Gm-Message-State: AOJu0Yzhwgd9Cgvc8A77BPrEEPmxLIuLng3kPjIdrIyw74AE/Sa7vauH QSDMJ0ksIWin+DUlr8NYAaJM7MD+jHW2mESiamqQy68+o8bTDlzt8o+e1KScwB99dTqJusIYrd6 yhe/ydA== X-Google-Smtp-Source: AGHT+IHV9nY99b+ou0OLk+3DvO4irlmuJRvpgLw3Sv9BxMmJPgn6SZyFeriAhzjpEEmG4yt+RsYZlQ== X-Received: by 2002:a17:903:50c:b0:1dc:92a7:f2f0 with SMTP id jn12-20020a170903050c00b001dc92a7f2f0mr1981259plb.23.1709313461969; Fri, 01 Mar 2024 09:17:41 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:41 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Devendra Singh Rawat , Alok Prasad Subject: [PATCH v2 32/71] net/qede: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:28 -0800 Message-ID: <20240301171707.95242-33-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/qede/qede_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_main.c b/drivers/net/qede/qede_main.c index fd63262f3a47..32fa2016d260 100644 --- a/drivers/net/qede/qede_main.c +++ b/drivers/net/qede/qede_main.c @@ -180,7 +180,7 @@ static void qed_handle_bulletin_change(struct ecore_hwfn *hwfn) is_mac_exist = ecore_vf_bulletin_get_forced_mac(hwfn, mac, &is_mac_forced); if (is_mac_exist && is_mac_forced) - rte_memcpy(hwfn->hw_info.hw_mac_addr, mac, ETH_ALEN); + memcpy(hwfn->hw_info.hw_mac_addr, mac, ETH_ALEN); /* Always update link configuration according to bulletin */ qed_link_update(hwfn); -- 2.43.0