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 B7A9F43BAE; Fri, 1 Mar 2024 00:05:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11FD2433F2; Fri, 1 Mar 2024 00:01:39 +0100 (CET) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id B4BC7432DE for ; Fri, 1 Mar 2024 00:00:40 +0100 (CET) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-5cddc5455aeso1174191a12.1 for ; Thu, 29 Feb 2024 15:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247640; x=1709852440; 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=Kc3UkBu7gBJywBZiNoLul3e8PTLdPQrjXqfUVikGILo=; b=BhOWGax3DiXDRwaUHG5COaVZZmcQdiUtMoKMRHjkaUBxqGmTyTZHb/OR8ea3tBGteI 1iZjcgqTbAeagcs6X0yizUlYOn9ZJUSNn5QcaQmzTAe4enkjwpyINoFKaqH7i89AoQjy K9DwMjWFKFWdQh9LxBWrs/+1930U43NZ7kSbiCt0wohRHL3m6Mrbv5vzZ1n8QgDFisde VVK7Q1NKYQOcnbra2y864Z8DE4dpSrH22l4l5Gsrh+3HUoNK3DiTW8bSyorsxMTFiV+/ mc5WNiuJaavyMZelNjE9U2MjBpT65UR2T0oMU9vVyyLOK80UsK4dWVHKm1fabPR6YCLT PBAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247640; x=1709852440; 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=Kc3UkBu7gBJywBZiNoLul3e8PTLdPQrjXqfUVikGILo=; b=ita4jk/sL33OwhTt5oL2HT7utm7I8pZYAbmFX07TKkazH9tW1MJSd1FDClHhtFxceJ NACSAItm5AzlcC++hFpy5fvbpT25UmnNPxLoFjY8igBMukxoKlb/dr7eZ9XNSa9FSPWZ 0G4eVqrxLqxieHNx3cLq1MGV1bUdpFdxLC9hSG0FauOFc9u3YzyNLvZxyNyZneAF12+8 3OUgeVCGqyRtPTXlPSAbzTIftDMtCBKeWdEDEOhAWU71csF+BK4o8Y98k2aJ6iXLSPRN unAR9pV/j9gsDealHQ9AzhaAb75o4eXcjmpHGuAM/w6DV3ne0HzMsxi8fCsdnifHeydZ biiA== X-Gm-Message-State: AOJu0Yy56BBd/BC3bGHhv2nKpi3JL7hDXqJicb9aiLkNED4FHkYwZjp2 vxM1XWBIkgjvqpiO7X3UM1LVd0zi6qy8gZo14h+e8VtBSbRWc/yqNlAgkjX4vSl98nasit5DUeT B X-Google-Smtp-Source: AGHT+IEuVedUhQA+kCJfUGsky62XCaa5RYhEj5wlonDSHRz5qomVmFJEDP1WYuoc7aB+iWxCpNlm2A== X-Received: by 2002:a17:90a:9a9:b0:299:56ee:6946 with SMTP id 38-20020a17090a09a900b0029956ee6946mr22205pjo.32.1709247639676; Thu, 29 Feb 2024 15:00:39 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Pavan Nikhilesh , Jerin Jacob Subject: [PATCH 47/71] event/octeontx: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:34 -0800 Message-ID: <20240229225936.483472-48-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/event/octeontx/timvf_evdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/event/octeontx/timvf_evdev.c b/drivers/event/octeontx/timvf_evdev.c index 090b3ed18378..6409d6d1615b 100644 --- a/drivers/event/octeontx/timvf_evdev.c +++ b/drivers/event/octeontx/timvf_evdev.c @@ -42,8 +42,8 @@ timvf_ring_info_get(const struct rte_event_timer_adapter *adptr, struct timvf_ring *timr = adptr->data->adapter_priv; adptr_info->max_tmo_ns = timr->max_tout; adptr_info->min_resolution_ns = timr->tck_nsec; - rte_memcpy(&adptr_info->conf, &adptr->data->conf, - sizeof(struct rte_event_timer_adapter_conf)); + memcpy(&adptr_info->conf, &adptr->data->conf, + sizeof(struct rte_event_timer_adapter_conf)); } static int -- 2.43.0