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 6779D43C12; Fri, 1 Mar 2024 18:22:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF9CC43494; Fri, 1 Mar 2024 18:18:16 +0100 (CET) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id 067FC433ED for ; Fri, 1 Mar 2024 18:17:52 +0100 (CET) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5d8b887bb0cso2012123a12.2 for ; Fri, 01 Mar 2024 09:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313471; x=1709918271; 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=OCPeaSpmoR4pGr1jr7yoEFFyqdCQ+w7/Q6s+B5JelMs=; b=I5krbXhlRHndjSq7R2OGlRlLX7MVlKvuydWUJRpP9FoSwRAG/RA0bYcS9ZxXnhCjBi gQgudyPlUFGbB59e1VFMhauPbsMwp/U2QQUqyhuOuB8eXZ9hBfq1agp2pLWn0PLVwm/C sT1A9nRO4LXDOEpuvR/PhThlw/7FmM9kjhExD8WMkXEaP3VRqkiKD8vOHk2KPl430UPA gGWWEXe2wHxpadMvut50u3JG/+Ph6XEi9Yci8HoSSKm4RSXbNizy0MyfLKFbmSgKfx4i XEOpkIlhe6Xh3RpmdUsC/VZ/YNjzrYzg/64VFi6LL9DxYqAqIVHoR9tcPD+APwSQeD6h YDsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313471; x=1709918271; 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=OCPeaSpmoR4pGr1jr7yoEFFyqdCQ+w7/Q6s+B5JelMs=; b=vwe92FAfIbQjB3dg7S8fatBU2YD/gmwL2J08gZ4qutIrhPN2Y5hr76xSke1YSGrav4 NBbkS/xjCMIOyWVF4luFERTR8KAgb7/aaVBagsBatU0uNNlX4IKTdWJLEkkkB4KG72F6 uaPdJL8gsBsp8ow+Hh0YmPfWWgSOVTGTCRpeqiUsFK0dXm8K44nun8Lzw32JyjhM+M81 ZV7FPqDn1NOzGj14oQ8jNMxT7uozqRDbrvZtQzvjD9OyVds9oZIysZ8EuTo3IuYgH4jg p829S8ZYTODo/enLuxB3LlQJ092eFi6G8MBLlIq7HTJb5KRMC0eCvyZJA1Lve4XZThUx owAw== X-Gm-Message-State: AOJu0YzRigOQN6z4isHpoj6j0X7i9hSg0UtdwII2N9MD3sUh2J4hLq5Q GSZKr5susQGpgUcTrPhydAHXfy1FvHyqBeNFcEwiW/5SIE6DhVo72QxMFto2F0YUQ2OqmEQTS4U AgUizwQ== X-Google-Smtp-Source: AGHT+IEPgtxDys6yMOqdbPYx6I2m8WYnyCItOPS52Yc7VWlKgF2eYt3DRISbYm6zYtEa/trP+S59nQ== X-Received: by 2002:a17:902:e74a:b0:1dc:c161:bcd4 with SMTP id p10-20020a170902e74a00b001dcc161bcd4mr2718056plf.30.1709313471304; Fri, 01 Mar 2024 09:17:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:17:50 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Pavan Nikhilesh , Shijith Thotton Subject: [PATCH v2 44/71] event/cnxk: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:15:40 -0800 Message-ID: <20240301171707.95242-45-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/cnxk/cnxk_tim_evdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/event/cnxk/cnxk_tim_evdev.c b/drivers/event/cnxk/cnxk_tim_evdev.c index 6d59fdf90983..2027c4644c5d 100644 --- a/drivers/event/cnxk/cnxk_tim_evdev.c +++ b/drivers/event/cnxk/cnxk_tim_evdev.c @@ -115,8 +115,8 @@ cnxk_tim_ring_info_get(const struct rte_event_timer_adapter *adptr, adptr_info->min_resolution_ns = tim_ring->ena_periodic ? tim_ring->max_tout : tim_ring->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