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 A9EF6A0679 for ; Tue, 2 Apr 2019 17:30:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E30134F3; Tue, 2 Apr 2019 17:30:31 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id 9DB3D343C for ; Tue, 2 Apr 2019 17:30:30 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id y13so6550720pfm.11 for ; Tue, 02 Apr 2019 08:30:30 -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:in-reply-to:references; bh=i+G6ykAI0Mh+YBozZwQ9ABjFwyBQzyM9mERWc5vS+Mk=; b=sTQqeaw45+SQONE5MkkMeM2Vhl6TI4yHRhuG+fB5hMOtZozVecMSPQGOxKbvXIdlTk 24bJJUZCDavQ2VJ7cMCqBqY4rDxTN4pL8E2bIinfZcTeCCSXr5mnfjztsF1H68aCWy2d jEYXO/qQVI4SbRu3zUpL9OQZ1LTu8CZbRMeoxq7umj7lSzVnvu3WcZAqpjxzj/MaAnFC zQd8qDazw7NYLcgF/ieEQHg+2c6+Kdp1pYwI8eeD9sD2dlqYU7U/vMMekKTNazs7XxBp xJruzeBlSV6fhbyxeAvycC/JPudAIUJQuQdwP0ox6fU3hi2Vw540nL50anedjABWeVa8 pVVw== 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:in-reply-to :references; bh=i+G6ykAI0Mh+YBozZwQ9ABjFwyBQzyM9mERWc5vS+Mk=; b=Gei9HlT2a4UngvVve48s5dEAapQByYYpYeHYZ4SViqjxnSzE0GFuNwVNYl1w+DJpZV 2qsYa+3rZb/pL6L4Q1LMioQKWInktwH3iy24NS2wH+XByVo9AmwyTTdIlVx+KjAkrkpU b8HvOjpyx1eKo27IQEJAzuqQ+CioszHyWZC2FUM1n9t6gsrV1k0pGPzp3PtN2FvQZ/4A 0GLYg//je5tZLYPdirNLY+9uzEYuehHQdIRv+f5STUnOVovkHGF+fAqZlgFt0UnBCVrs h/3QrUis2li5dGivmDNSR+Cxu1EvazXxVokazJIMMuEVZ7EE0JBpADG0bGNNav5+hSXP Oiow== X-Gm-Message-State: APjAAAXdqHgDQM9+gVfGYNH0WA2msSM27b9WrXzyENR4MiW5YtgeoDYh XGqpFhFpC2Hd2jl+3IZ/M1CelN5+lSdI6g== X-Google-Smtp-Source: APXvYqxDIXwl0AVvTsLcpdC1r3PkiD45TFFyMoGm5vzGCnFqA7auNu+pYI3SLJPWeQxl+SKMHzgzLQ== X-Received: by 2002:a65:6283:: with SMTP id f3mr67621546pgv.125.1554219029426; Tue, 02 Apr 2019 08:30:29 -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 b7sm41749131pfj.67.2019.04.02.08.30.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 08:30:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 2 Apr 2019 08:30:26 -0700 Message-Id: <20190402153026.17951-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190321230341.6576-1-stephen@networkplumber.org> References: <20190321230341.6576-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v2] 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: <20190402153026.TEaMDsHCnVN4OLHuQEFeEVHQoDTr64HSiyUQpsuFoX0@z> Log message should end with newline. Fixes: 4e32101f9b01 ("ring: support freeing") Signed-off-by: Stephen Hemminger Reviewed-by: Rami Rosen --- v2 -- fix punctuation in message as well 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..550549db3924 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