From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D9D9DA00C5 for ; Thu, 7 May 2020 20:26:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB06E1DC43; Thu, 7 May 2020 20:26:17 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 045781DC42 for ; Thu, 7 May 2020 20:26:17 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200507182616euoutp01bbde78c82cc11d48a8f879b28f690e9c~M0khI8Lrg2554425544euoutp01V for ; Thu, 7 May 2020 18:26:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200507182616euoutp01bbde78c82cc11d48a8f879b28f690e9c~M0khI8Lrg2554425544euoutp01V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588875976; bh=kphr7bgKzD4MPaxYSGI4tY7M9+gnSRoS8dQFj67w1Nw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lYdwPmm+sbJtBFUKfrt8lVJUcuV1cCQZOXIASrErFf5JqdgcUG4r6vSNpf9wCEDrF ys1Z2fEUzKlXFmB/ntEos29YxKp9wSf71d+p1Rkafzr5SL6TLVOzme+71LxZM5yYKh XmHeGsPvtPBkpLbiZXjikSrnEW4o48ScO6SoaAX0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200507182615eucas1p2c7f557605fea40cbcfb6dfb39136611a~M0kgWiuiO1091110911eucas1p2d; Thu, 7 May 2020 18:26:15 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id CF.0A.61286.7C254BE5; Thu, 7 May 2020 19:26:15 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200507182615eucas1p10a1ad94553507df541e2c43cf952722b~M0kf3AnMv0547305473eucas1p1z; Thu, 7 May 2020 18:26:15 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200507182615eusmtrp290a662b49d2bd2f9a8ca5880a8b2328a~M0kf2TFjT2753727537eusmtrp2E; Thu, 7 May 2020 18:26:15 +0000 (GMT) X-AuditID: cbfec7f2-ef1ff7000001ef66-c8-5eb452c77a95 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F7.30.08375.6C254BE5; Thu, 7 May 2020 19:26:15 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200507182614eusmtip1ec94deab000c1948617d0e7e836d7cdd~M0kfTMowK2997929979eusmtip1r; Thu, 7 May 2020 18:26:14 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, i.dyukov@samsung.com, v.kuramshin@samsung.com, thomas@monjalon.net, david.marchand@redhat.com, ferruh.yigit@intel.com, arybchenko@solarflare.com Cc: stable@dpdk.org Date: Thu, 7 May 2020 21:26:02 +0300 Message-Id: <20200507182604.30256-2-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200507182604.30256-1-i.dyukov@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSbUhTYRTHeXa3e69jk9sUPFghjow08oUiblma1od9CSSiD4KrmZdpuil7 0SyolaRrYUSaqamJIxMFnW64mlZLzKkLRdOaaSJDzBkZzkzT0pp30bff+Z//eXt4SExUzAsl s5QaRqWU5YhxPrez7+fwAccZizS2xiimZ8o/4bS1yYD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J10+Yuxg5gUxhiT/XuthAbCGBz4wST05lgdhsAhoSpzvmMYH0igisY5T4OPMNWAMzUEP7 kWssILawgLPErTmf2EFsFgFVie2ProAN4hWwlFh/pxdqgbzE6g0HwGxOASuJc+3PWCGWhUsc 697DOIGRbwEjwypGkdTS4tz03GJDveLE3OLSvHS95PzcTYzAMN527OfmHYyXNgYfYhTgYFTi 4bX4uDlOiDWxrLgy9xCjBAezkggvz4+NcUK8KYmVValF+fFFpTmpxYcYTYGOmsgsJZqcD4yx vJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjPlqf+c6MTwTWbSz p1bu/qWDTT+Cnm/UkHwRfOLlW/UDnRwazpsX3LjLJc7kb+zc+V59kXPSEiu+xaV9GcULM04x 3FJi2ehnVNhWfuxmw/sY/dk7rugpt3g7b0677MTr/rzAV2cR6/WF33pnmnh//HzU4pfa5eSj uy5pzF5Y8Ze9QeAb23KBGCWW4oxEQy3mouJEAAiYuBR5AgAA X-CMS-MailID: 20200507182615eucas1p10a1ad94553507df541e2c43cf952722b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200507182615eucas1p10a1ad94553507df541e2c43cf952722b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200507182615eucas1p10a1ad94553507df541e2c43cf952722b References: <5595669.UjTJXf6HLC@thomas> <20200507182604.30256-1-i.dyukov@samsung.com> Subject: [dpdk-stable] [PATCH v1 2/3] examples: remove extra 'new line' in output 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" This patch removes extra 'new line' in few app examples Fixes: d3641ae863 (examples: update link status checks) Cc: stable@dpdk.org Signed-off-by: Ivan Dyukov --- examples/ip_fragmentation/main.c | 2 +- examples/ipv4_multicast/main.c | 2 +- examples/l2fwd/main.c | 2 +- examples/l3fwd/main.c | 2 +- examples/link_status_interrupt/main.c | 2 +- examples/multi_process/client_server_mp/mp_server/init.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c index 5eca7ba99..4afb97109 100644 --- a/examples/ip_fragmentation/main.c +++ b/examples/ip_fragmentation/main.c @@ -617,7 +617,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up .Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c index 1fb28513b..7e255c35a 100644 --- a/examples/ipv4_multicast/main.c +++ b/examples/ipv4_multicast/main.c @@ -596,7 +596,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 88ddfe589..f8d14b843 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -478,7 +478,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index dda430d68..84f171f18 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -838,7 +838,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps -%s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c index 38422f6ac..25efe2b09 100644 --- a/examples/link_status_interrupt/main.c +++ b/examples/link_status_interrupt/main.c @@ -500,7 +500,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/multi_process/client_server_mp/mp_server/init.c b/examples/multi_process/client_server_mp/mp_server/init.c index ad9f46f0a..c2ec07ac6 100644 --- a/examples/multi_process/client_server_mp/mp_server/init.c +++ b/examples/multi_process/client_server_mp/mp_server/init.c @@ -209,7 +209,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask) "Mbps - %s\n", ports->id[portid], (unsigned)link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", (uint8_t)ports->id[portid]); diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c index 522f211c0..9a16e198c 100644 --- a/examples/multi_process/symmetric_mp/main.c +++ b/examples/multi_process/symmetric_mp/main.c @@ -389,7 +389,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; -- 2.17.1