From patchwork Wed Jul 29 06:31:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feifei Wang X-Patchwork-Id: 74969 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B3B8A052B; Wed, 29 Jul 2020 08:31:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7EEC37B7; Wed, 29 Jul 2020 08:31:25 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 74ADC10A3 for ; Wed, 29 Jul 2020 08:31:24 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BBB971FB; Tue, 28 Jul 2020 23:31:23 -0700 (PDT) Received: from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com [10.169.208.213]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 674E03F71F; Tue, 28 Jul 2020 23:31:22 -0700 (PDT) From: Feifei Wang To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang Date: Wed, 29 Jul 2020 01:31:03 -0500 Message-Id: <20200729063105.11299-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 0/2] wrong pointer passed of ring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix wrong pointer passed problems when using rte_ring_[sp|mp]enqueue APIs to enqueue one element into the ring. Feifei Wang (2): ring: fix the misdescription of the param test/ring: fix wrong parameter passed to the enqueue APIs app/test/test_ring.h | 6 +++--- lib/librte_ring/rte_ring.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)