From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86487A0567; Wed, 10 Mar 2021 08:10:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 572504068C; Wed, 10 Mar 2021 08:10:11 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id 4D80840687 for ; Wed, 10 Mar 2021 08:10:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=momEF2nfrpDmwY6Ra7cO1qf3GDv6m5Zlgx6fAOHvPXCKIeChIp/cZkaIKgtIsGz+ivyKaUqt4pkW2sn3Kjzio58RFQN2CMv6nEBsJJN8g3hzC3OHJxXDOn1AFzfybPNTOsWpCT3UysxC+lwCnp7ox62RznUqxgahWNlfbEbCUhWzG1yoxoIBsxH4YYEG0yyNNrwe6OGYGA9bDdrLXbnDdzEmmQF3OxUmrVodLCNIvh6NEp2Dt9EiyhTnavqmeXajj3RnHEbvOeXAzO689Pclf5foQIgOlwemK3i6MgB9/zMNxQHfJuQg+6L0iaKjXN4TIjfIPB6M1kA+cioUYMUAng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=klni76B7uu+Uw0KyC1S88oy2/KHRvYVta+Yd/r8t3MA=; b=NmIyCfWKimil+QvH9RN76coiRyWu3rt8k3dyIjeRrJOm4PnkvsShqKUmTyG51lFUy5i+CJYTvmHWXoyR5Ez+nBxfjsEDWTKlCI1rmMPhEYDVRunNZj7QU2TDzrj74b/3GOMYnbRDlXuW+jywGBvwWU4+c6yzQGnUSMLNV7bnP2tUZ4t2MBSWysB6oXj0YgXhxiyVZNjLTqTBzJR7wFiQHxArZk0EZxsOXuuQ1G2Qw76xgRFRoDP/e7LMTIA/yy7fFsBqK5G8xrLE8W4a9y2nQUe7LBgqHObQu57rYoaQOV43+fNTZqmZarpim4dmaRGFjP95xV/eYcNwc67Zk3fFWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=klni76B7uu+Uw0KyC1S88oy2/KHRvYVta+Yd/r8t3MA=; b=DydDiIlNCzzwFx3iMAFfDngzUOH7Z52NaOhjtzQVXkNK9JR8McxsnYNChR7JZLRh7Gq1sfeZKqfIckBsTQp3SCIQOYwzCiOMvapFwcjhE8lJ0oDVZqyMXLBkIEMGFiqHKIB165KlRh0835ciKS0s9xWpSuBUHn6wKDV3L60AvZkpJ5xgeeqoX2DtN8mRfQQmykNV9UMMDpPUzm+cYBOzabVaooIMy/lqPpORsT52emdVdadfYTe35DEFM1ffJ6V9eu9564H9mRv0hvaXp034szQ8D6bfDOWRTAIFhYRA5lKEZNMnd+KKsqdJ9tI6CURVb1lNa5XA8g0dSYDcuIY6KQ== Received: from DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM6PR12MB4942.namprd12.prod.outlook.com (2603:10b6:5:1be::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 10 Mar 2021 07:10:08 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308%7]) with mapi id 15.20.3912.030; Wed, 10 Mar 2021 07:10:08 +0000 From: Ori Kam To: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" CC: "david.marchand@redhat.com" , Declan Doherty , Ciara Power , Wisam Monther , Xiaoyun Li Thread-Topic: [PATCH 08/11] app: fix exit messages Thread-Index: AQHXFTxp5SeS7ujDMUy1SFfuP6eNhqp8zaAw Date: Wed, 10 Mar 2021 07:10:08 +0000 Message-ID: References: <20210309233116.1934666-1-thomas@monjalon.net> <20210309233116.1934666-9-thomas@monjalon.net> In-Reply-To: <20210309233116.1934666-9-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.145.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a99edee9-e626-4be1-b512-08d8e39389a4 x-ms-traffictypediagnostic: DM6PR12MB4942: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cuXeNhsvTk3fQyC9zkgrA1bjnAWmGoa+zALCL8OAOHVWfecmyXbGLyeQ5zs0KbMWPMtnUhkDY9wwRo272oKgvGjmDxOW1ot7FIj/T8M/I+2YD1lROfJOwcrgScJg+Klft6hZuEX3oN39TFIetIYvO+KpdkYB63tUmNjuO49BN/ARnnEn3k8M3zpfTBxh9M9X1dMUncZs3x1/Bj/zAI0Km4bII9mnZcfZWrpozmsXmPn71pucTxZsxpdEpWXEGIhib+8CcefAIy9etiKAdGLxeBietu414vXyBb1AQPbAn+xazju7f5BQg8PbatilM44QKSKFBa6Hs65l71Qk/5FsI3f+PH8Aw7kMFQX/4EbymzNxhWWdM9tntz5Z51S/I6/ptqEYztfpCZezWWXMhIglRQ3uuaZdxta4bOP6uJcoK1oTd8OzxEOwxjO/6YtXjsMviz5c1i9hA248KY0I1CeoXpoYIEWkEl3uWep4nJFxBG1rqMU8v25M42OfAfTyHsUrZtoBGHuAn6KCRWEvP3+/dg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(366004)(346002)(39860400002)(4326008)(9686003)(2906002)(186003)(8676002)(55016002)(33656002)(83380400001)(54906003)(26005)(66556008)(316002)(66476007)(478600001)(66946007)(7696005)(5660300002)(6506007)(64756008)(15650500001)(8936002)(4744005)(52536014)(86362001)(71200400001)(110136005)(66446008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?UFCka4+YCi2jok/lvI2X2mOd3zuNpK7bqXOuYGBvu1tkPhvplc5pbEWiLL5p?= =?us-ascii?Q?StGlhXoP8HIhxw3HuJHDHZ/9CerNgXEyywBtaHEB9PNK9kKedy3ZrWHJ9ghj?= =?us-ascii?Q?f9LoVPxX/532XfeA8cv0WEzvKs9ErlEeuERRd6J1M8ZnWIZq/EjfAUKq9gUK?= =?us-ascii?Q?HR/gzxp5kjE6sR8e7N0lZ8uuxl5PFszj8NCdKI/T7h91c3cyt82fzv4n0R3a?= =?us-ascii?Q?NNdl06nSacnpn7LYyJOkevyobj4vSFhqguFzRUwHEWnwwYJoud+KmX4UFLx3?= =?us-ascii?Q?wbqPGKvvymquViW4BYqd7gU8d2KLZM0ciiXdgMjulYlgkphFen6ujDkinQYP?= =?us-ascii?Q?PLj/Gzw01RARrwo5M8tdnuKthKnFxme2oC+21GIocjUQ2tLBYMz1wvQMky9w?= =?us-ascii?Q?AvZfY4Ik70BMX8VKIwhhN6gKrNi5PMBbZpPjNnITiIuJQrtDFAnhVLYum2t4?= =?us-ascii?Q?iSMFsVtigaB/RjTlrKPqbPArbp9R6Aj/8iRZf/QXBwVMGX0/Bn6LWT5D+Gq1?= =?us-ascii?Q?oc5ePBIKK7/OzoDFD/YSElTOZg9tNZAA1EgyCjMC4Na/hLlBFln5vOYKsOqL?= =?us-ascii?Q?FhcavG1fkY7s7iLwfjmE0X2rj4G1FH0a9FbmJX7E0OFpLLI0cjQa0P/LF2we?= =?us-ascii?Q?qPTC8yRIusxAQHIWq2JKuuaEl55axanHULhhnreW96T0VWF/sENqJcl8tnBV?= =?us-ascii?Q?bWQv1AArf52IHpXoJN6t5gsCBRR5TA15gv/7w5YO+9YPJamEUd04nS3jK2bU?= =?us-ascii?Q?8XqADiihdO5eSwdBSdnVun5pSYBnnP6cfi7JV/SOSEne/i5UlXXIQJ0N5sTC?= =?us-ascii?Q?42y/ZesTsxWZhuL8VivSGStJrmLUaTEJiRwHGl6Fq6vFEX/1/QduVy1hCAQh?= =?us-ascii?Q?GjExxW2d/i3lylCGAvJH981MBA6hDyEpDMWpBm4JeIoqCjnZMy84fQC47FOk?= =?us-ascii?Q?RtaNoaj/0Sdnm2JFZPhHw2WGTVeRfM8ruoAM86zXYWXAqyvs54YLi6ByXZkD?= =?us-ascii?Q?heAREw4rFuMoXwdSGXim+7+cd3218jhCLJtvQdAhx045FKEpKiPEkH4YYoCd?= =?us-ascii?Q?TF+e7tNCNno2O2oUzHhD1qVK8nzHle+2e7LWYE9L6OLHFT8cAGpXFf6p1dxS?= =?us-ascii?Q?XJIQmXpjSAn4LFrddqgztcD6OaoZKDTh8P3b//OI7kPq9VmsHQkpXRYcThGt?= =?us-ascii?Q?sTjxF4/y1aTOkaAHTMMgjeBQrYs8Vo0Q1sZKz6Z6HOUzX4f7VQaTkhxXVm6t?= =?us-ascii?Q?xPeAIxOFI1eIcrSRL9rACz3TJimthiNkSeGyDRs50NSOT8zJn/C0WRuijmb8?= =?us-ascii?Q?WpSEqZeINhtkO4CbKqpOYPsJ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a99edee9-e626-4be1-b512-08d8e39389a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2021 07:10:08.1226 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nMufNv/J1zL4XaBt/NZjpM+Z1YWHMVhUcplPqsSHI9k345IX4ltvoWWfVnGmZGIwlVRM2so7JgEK4sCoUpCM6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4942 Subject: Re: [dpdk-dev] [PATCH 08/11] app: fix exit messages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Hi > -----Original Message----- > From: Thomas Monjalon > Subject: [PATCH 08/11] app: fix exit messages >=20 > Some applications were printing useless messages with rte_exit() > after showing the help. Using exit() is enough in this case. >=20 > Some applications were using a redundant printf or fprintf() before > calling rte_exit(). The messages are unified in a single rte_exit(). >=20 > Some rte_exit() calls were missing a line feed or returning a wrong code. >=20 > Signed-off-by: Thomas Monjalon > --- Acked-by: Ori Kam Best, Ori