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 91A0443BAE; Fri, 1 Mar 2024 00:05:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21869433C6; Fri, 1 Mar 2024 00:01:33 +0100 (CET) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 6710242FEF for ; Fri, 1 Mar 2024 00:00:38 +0100 (CET) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-299c11b250fso1021400a91.2 for ; Thu, 29 Feb 2024 15:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247637; x=1709852437; 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=tO2CcsB/qHCGF13ie74eTNmUFokIkCMalACpip05KhM/JH1G1ksLza2r6OkUo/3rRy l9M+9EM57Wpk1jjnAz7it9GriuKmYGtOqSLnQeaDrZcVoAUq/qeDvEV7tCMtlx8LqftI RuPvX47585vsJHkJiohTlm8hwgows0eLAywBQnuIYTVjsjuR1mw/gr++iI+z2U2DQqFY DJtqf4kOprrtDiHkcNyEnjB14eGIftDumYzi3S3WFrl+e2czlMwfW+m6AOrllyjnOWGJ Fv4xZVWGw2DqdO7u8UyMqhiZxrmZxV2Y/cRn7jVBPKKEO0PTQZRZ/nzrvmmiMzMeur1t gBjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247637; x=1709852437; 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=Xa9/VgoOGoZFKY0VtIdksBwVWmKO04orCJraOj8awGGVTSgFr5aalYmp9DhKzPrqeI 80SXBJVDGyV3smVKVFHgxHxPkNMCpxks9S+pQJEXIww9Jhy25CKln4p9TFYbWHSLun2c iSA0KynIjHl7YWH02qQsGbN+ksvjw6UR9ljRtEMg4zJonjSvux9rg3ExSFLLKQx8yXtE EVi878PMuYmZtKHKQO6UVThg7fKJ5/KYAqEMH1zQPULgGEeKYFyE4dKJ/bRQqqxSNzBq 3tvEvWuPg8z5j6ZIzlRvngkt0DmhbZi/nwJCBCe/8HF6lYsyNZ1mJNDADK0AvSejQpKP AYYQ== X-Gm-Message-State: AOJu0Yx/rjlX+0ZSgxCOQZiSgn87E4jjX+ZyUkd9ETpy8UEu+jHoPIcG MN06Qe2pTJmWsoqXQYXzRUf33Wu2k9KvkYIYmZW9qS3qBVIo+9df2+tdsNAwlnGzwJM0ruvX8PV r X-Google-Smtp-Source: AGHT+IHYoE8rERaD4a7xUa6dH7XuXbVLT0InFwzR5jo+YhKA058WcrGKNLXoJciY1j0voAfPwgOdEg== X-Received: by 2002:a17:90a:7143:b0:29a:842b:d8b3 with SMTP id g3-20020a17090a714300b0029a842bd8b3mr30809pjs.7.1709247637292; Thu, 29 Feb 2024 15:00:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Pavan Nikhilesh , Shijith Thotton Subject: [PATCH 44/71] event/cnxk: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:31 -0800 Message-ID: <20240229225936.483472-45-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/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