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 B457843C12; Fri, 1 Mar 2024 18:22:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C3F44349C; Fri, 1 Mar 2024 18:18:20 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 5C3E74341F for ; Fri, 1 Mar 2024 18:17:54 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1dca8b86ee7so22452625ad.2 for ; Fri, 01 Mar 2024 09:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313473; x=1709918273; 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=RARM34J00sErTgRwJ5N95BEA1Xxy9bQX9KN5if3T5jZSKCKxWpeDR+IsgzBENoHVLc +qHbZ0b6m2NHmeGq6OUWlV027KDwfdkAVnZNgiH4J7rbZzS3MDHI+ci29gqOgMFp03V1 Q/ZGEzwt39DCxEM8T7lul/DKTm3UQFhgCeRRzNNWUtaYh9/pmzJkkWfI7TU+48UzAlGp /EDzxosf04Cb1NAGvJvxi2JYEWtrYSj/iNWh3FnwRvxzmnopxKXl3/tbGy2750q3aOct kWvUFM5GvIVJaxA/ZHH556/x5mWOvYSYlsQGEZHhWE3YPdZhimHLdjgAPg1msG3VrgFg D8IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313473; x=1709918273; 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=UhdxuYYGLKCI/FSM85O1Ap9o42c3Je1C4G9ohbso9LijnyODfFWvqrY4Eqe2ODlFCh BIl+AqQNy9EJYEdxiOHw+/iySKh/uDRSbWnhT+e5ta7j5yxQE3yMa3XlBmec7RPfeJ+x gx1Wt/G6EMKIJWCORNskOHWvHh2IvFYryU/A/AMEzjlxxCvEi4IWWJ7dWK4JaAVz1Sbw td3yeoaAu+3X3CIEAJi1x8bTqQkeKXhJ5ZbicmX1VWTOHK4E1AZ2d1+wRYLIfjbZ1vHU ICsvuO+4FPQNU04e76Nk1tRWkGcC1awg1sQclffpHehQ+EPDwlJkG0p3VOACxJ8Ggrsb LQ3g== X-Gm-Message-State: AOJu0YzcAqdaK/1dji0H12qEdTQ3P+zzm4qFHeVosWKRUvrt0ySG5+MI 6VCAOEDwWXvwNgnS1F550AnO8khHZyMmdVb14XX1PvbrLHn30qcpPWc525pkvqfjDhPXvntCVMW cJvkdjg== X-Google-Smtp-Source: AGHT+IHaUpGqxnHkkmUpOEE7DX9hT6e2Rk8CSRssKJwA6GgQITPSlOTG6c3TeF75ngGV9LwoQmCuoQ== X-Received: by 2002:a17:903:32d0:b0:1dc:7721:94df with SMTP id i16-20020a17090332d000b001dc772194dfmr2853037plr.2.1709313473672; Fri, 01 Mar 2024 09:17:53 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:53 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Pavan Nikhilesh , Jerin Jacob Subject: [PATCH v2 47/71] event/octeontx: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:43 -0800 Message-ID: <20240301171707.95242-48-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/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