From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6CEADA00E6 for ; Fri, 22 Mar 2019 00:03:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D5CB1B53B; Fri, 22 Mar 2019 00:03:48 +0100 (CET) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 84D7C1B538 for ; Fri, 22 Mar 2019 00:03:46 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id c207so124568pfc.7 for ; Thu, 21 Mar 2019 16:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=8NbSoZUvs6hiJWy2QNDmQKdw4fJNFkNN4CEyMw70aZ0=; b=OGiUhwoa3YWNzdVSwnWclazzVhozR78YFYC2nc0x1fcmhjbQO4jmsyjIydLtY1Mr+U KHu8KbPaAL7zGFlNZwgoxDHOsoySADT8cDqF+d5hPsu+etFMZA/peuiZb1fGzkO+G755 /VqVA4lgQ0Y16PWYI2B8OsDcn/9aTddEeuU6/PwqgGlVC9O1cuxYPptHKkX/HQW6F+vP UCzWvJj/0i5wy1FRkR7A0DMLdSou5421XKCwv3lUFpmlZfK9ox0356NMoV7fIrg9+Itv 6yrxCBGD2KUfumfxaHsB1pRKT7HodMxCKpU2RtxxH8RsJwyOqDNNtWhK6tnpw3OR9cSU wTIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8NbSoZUvs6hiJWy2QNDmQKdw4fJNFkNN4CEyMw70aZ0=; b=XgF7dcbmo0+m0n5JnqPCB0vLLpU6KAZxx6hQIXNAkyFrwl4I0fttyHs9l8Tc2ZPdds kVHI3TVV743cT/9UENzjWnuv5lJcfPRBAyKwQyUPEuxVPtV/2ZVBJy0OydZo3Oml01GO q8Y74dEIs4fsDKAfu0rf03Uj5vyIemkJwzWQ3fPEtYSRz7Tm9pKyV34IQ52REG1uX7ud 13kpfs3dKk/gbkPKF9HZ4fz6T1BYjpUSpdNDx3PaeVa/4CF+ILj0hz/xlKIZmEPxhOQe eyvZFplIo0uer+5qPRXkhWZSxH17fGWz0X4Kf4Ixw/ENWQoUOVeC1+X4gKsx54Oq37+G Xo+g== X-Gm-Message-State: APjAAAVL7SqIs7GQ3AWI5XyPn9Gv3PZY+F8uSQkuWdgMdLDhF0wo+K6Q sO4Y6RZji09QGOkJxAWG6V+1GQ== X-Google-Smtp-Source: APXvYqxn8xSiF4h/QPg5ED3ZSwaCC0mYYVFS59flapJxFz9poHLGJ6rMSZrST7GFhgEOV0hD2L0IZw== X-Received: by 2002:a63:6cc1:: with SMTP id h184mr5824615pgc.151.1553209425451; Thu, 21 Mar 2019 16:03:45 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id l64sm8353234pfj.179.2019.03.21.16.03.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 16:03:44 -0700 (PDT) From: Stephen Hemminger To: olivier.matz@6wind.com, pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, Stephen Hemminger Date: Thu, 21 Mar 2019 16:03:41 -0700 Message-Id: <20190321230341.6576-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] rte_ring: add newline to error message 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190321230341.4eTZ_rBTf14V8Ju74ypIhoVV-rKFNnSn3XnnMgqXrho@z> Log message should end with newline. Fixes: 4e32101f9b01 ("ring: support freeing") Signed-off-by: Stephen Hemminger --- lib/librte_ring/rte_ring.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_ring/rte_ring.c b/lib/librte_ring/rte_ring.c index d215aceccf46..61534b286b53 100644 --- a/lib/librte_ring/rte_ring.c +++ b/lib/librte_ring/rte_ring.c @@ -189,7 +189,8 @@ rte_ring_free(struct rte_ring *r) * therefore, there is no memzone to free. */ if (r->memzone == NULL) { - RTE_LOG(ERR, RING, "Cannot free ring (not created with rte_ring_create()"); + RTE_LOG(ERR, RING, + "Cannot free ring (not created with rte_ring_create()\n"); return; } -- 2.17.1