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 8862C43BAE; Fri, 1 Mar 2024 00:04:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88FCB4337F; Fri, 1 Mar 2024 00:01:17 +0100 (CET) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id 70D82432A4 for ; Fri, 1 Mar 2024 00:00:27 +0100 (CET) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-29954bb87b4so1078691a91.2 for ; Thu, 29 Feb 2024 15:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247626; x=1709852426; 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=cKeVN+Bk0TL9LFAFZNzupuWpFN0Q5kI3rWkvfbDWAsSr1cfMMSXhctg6YYKOvQrnfh NxRP9Tl79l9Zp5oUb6tfHYoLJHHfuU0jD5iyHdwuBbQ1S0TBWZwAj/F0WQVlNlf7GXcF P9GamSlCCFFUT85t5kxuosgJbk8ATD+3KGd5ojD4XYLI1i0yfRuTIam/ClFqRENwW8q7 rTSI6ku102CF6m0/8D/gHfiJS2KPYdOM/Uf2T75apQsj49n3pXnvQ3xfm8bgWVHMQa1U 9oKRZ0xyd5q+J5EJZNykzo971wWTridbpoNb8pd5i875VmRZrSkXm4kfDygK87Tvg4Fr 8LUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247626; x=1709852426; 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=l8DL9yA7ZhyBYLyJnLhu7yffl0EYHD93n5aOU31BkBQygnXjIkHsIMv1upHHqDj+AC aey8liV7MjovkAW1YImUI2cedhxcANbDwVuj9WkoPdInBxd999V+f5LTIJKEEtFVdEpk ofHN6RGUIsYwD0QrYLK8SShjoOXYVxxzIUnv/P6nBGrrDaA1lSOJJBtpi82Gvx1OO73p APKpJFg3Pv0dNq1ihakIV5n4XBIvG3jwu2dX2fbr6HopMIKsrRtx/TKqvN0wpWQezWUi 82mqvkUJ8c70fSIdBSuLB8xPnQBzwpYayJ1auHnWWWOuSC4RxjxKixFslAPzTdsAUXl8 GTzA== X-Gm-Message-State: AOJu0YxSgMyjKxsw7rI5+dyYgaf67gEaZxSra+mP1aSOxA4zJj2HZ+4k Mm0dATzkwlC0D7NxDKYBuLdjEZtDwhJbC+ghhb9xbeTOMX7Un0n5ni4vE1FfA/Nup2dUlUy8acv d X-Google-Smtp-Source: AGHT+IGphKZByAUekhoPYICcuIgADHF3BW3h25E9rvwP9QOUZEhVdTblfy+NTvWHdF7CNULmnlLgRQ== X-Received: by 2002:a17:90a:a618:b0:29a:795:a132 with SMTP id c24-20020a17090aa61800b0029a0795a132mr37666pjq.18.1709247626492; Thu, 29 Feb 2024 15:00:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:26 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Devendra Singh Rawat , Alok Prasad Subject: [PATCH 32/71] net/qede: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:19 -0800 Message-ID: <20240229225936.483472-33-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/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