From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 0C8E42C8 for ; Wed, 23 May 2018 14:10:55 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id a67-v6so8273272wmf.3 for ; Wed, 23 May 2018 05:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NCJrwc7pm0U+QLbw4Jv1HkNFKXg16wbeoJU0+dmqeaI=; b=LJWxdNv1oVy1y4h4hu+UiNdWaIQtv8vTdqAIjN4Z11L24L19JxwZXI8NnQf9/yUN8J MCPpuSPupd8MEUamrI/UxNnFN3iET3N0C/auLK/16bqcYwBCIiGjoTN+xYAKam2Qr2i6 cOe2ljZAEUXKXAPfwUMWdpPslaqZl8NxOEmfhvZQ2fC5C/9D3v0Vn070TRmm5g+L2rXI EyTy4I0XpvsfK1QxThF8ztEuiUnSNiCTEXuu49S7UMWupGDIJKAtPCRqYQUWEF78gi4K ku5/BSHRiXvJhJrSF3rvukxIGJ+OYITvFxYuND1CdNnT9ejrOZowsK7ln32ZCRhXucvF PraQ== 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=NCJrwc7pm0U+QLbw4Jv1HkNFKXg16wbeoJU0+dmqeaI=; b=pL7Q2zBnu+V9BO3lY7fue5ppBALzQh5BeQlKLf+PGkirmMLOHpjFrFWi+SespgDFwL rT5iJsnwis++b5ZPnzRW86VnYjzARRU8VTBY4tS+xHAcjN+bix8UUgmXayQNli4LOZXN e6Y3F56R9M1UtXLuURQ9RkXtqtr8ag9x5fzXa+MRgODSvZy8Io7Ev92qWnQbdeBXjILb Aev99/PL8kP/ryC0ouO3Sob//XeRNJuPpQv5kYjMXqKUXJfvD4Ifd5AXN3ihzZh4rTEZ BdFAqKJfHcAZ4Rr3h3HDOdrBCCn82GN3pW+6S2YDFR2RfwuR+lGRhfhcgut3qFzlxIso RgJw== X-Gm-Message-State: ALKqPwdC6YOYWIvhFrQ7UfTRgkGcaUaMZG+r5RRjt02z+ceiqLPPLQh7 wFjZVHNm05jfXWft0PPkWSk= X-Google-Smtp-Source: AB8JxZoWsNjNGR2p1ab0+vqN8AqnPf6OjHaTTLqOYq7OfO1XZ8/UP5GXHoIZSm5CeglnAQ3fw9ozsA== X-Received: by 2002:a1c:d212:: with SMTP id j18-v6mr4094649wmg.29.1527077454761; Wed, 23 May 2018 05:10:54 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id z18-v6sm22938346wrc.36.2018.05.23.05.10.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:10:53 -0700 (PDT) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Ferruh Yigit , dpdk stable Date: Wed, 23 May 2018 13:09:34 +0100 Message-Id: <20180523121010.8385-23-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'bus/vdev: fix double space in logs' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 12:10:55 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From e4c878d1641e966610ca59214b85e71d8ca7b800 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 16 May 2018 14:51:40 -0700 Subject: [PATCH] bus/vdev: fix double space in logs [ upstream commit 999951c86bcb95b3c72a193a15f01692045544fc ] The VDEV_LOG() macro already adds a newline, don't duplicate. Fixes: d22fcb225c24 ("bus/vdev: change log type") Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- drivers/bus/vdev/vdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 66fe63e85..a070438f2 100644 --- a/drivers/bus/vdev/vdev.c +++ b/drivers/bus/vdev/vdev.c @@ -165,7 +165,7 @@ vdev_probe_all_drivers(struct rte_vdev_device *dev) name = rte_vdev_device_name(dev); - VDEV_LOG(DEBUG, "Search driver %s to probe device %s\n", name, + VDEV_LOG(DEBUG, "Search driver %s to probe device %s", name, rte_vdev_device_name(dev)); if (vdev_parse(name, &driver)) @@ -275,7 +275,7 @@ vdev_remove_driver(struct rte_vdev_device *dev) const struct rte_vdev_driver *driver; if (!dev->device.driver) { - VDEV_LOG(DEBUG, "no driver attach to device %s\n", name); + VDEV_LOG(DEBUG, "no driver attach to device %s", name); return 1; } @@ -373,7 +373,7 @@ vdev_probe(void) continue; if (vdev_probe_all_drivers(dev)) { - VDEV_LOG(ERR, "failed to initialize %s device\n", + VDEV_LOG(ERR, "failed to initialize %s device", rte_vdev_device_name(dev)); ret = -1; } -- 2.14.2