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 85CA2A0567; Wed, 10 Mar 2021 10:23:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5123A4068C; Wed, 10 Mar 2021 10:23:32 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2049.outbound.protection.outlook.com [40.107.94.49]) by mails.dpdk.org (Postfix) with ESMTP id 2818C40687 for ; Wed, 10 Mar 2021 10:23:31 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bDCIsrIIhYUKFEypFSR+k7X5lUK+Ts8oMuCj5hrDQiXCPJc15Fzr18P/PhWTpags7pnSPEBq5Q5mO0wlTvZLsbpDBEhhjbRdskGg1yeOMDXyDOd0OBxOCrsv4pgT0z6g66rcd1aHz028nB9jtInKTf6kxDVYFwSlq6VNVQobN2t0E2QCygJjfqxNLkWbgISN84YC17c7pbQ7Gz3rxb801ckSDkpeo9r7HgYgqpOJE71SfaMjE9Ov+OvDxQ3fB7f5JNDqB4659q/IryARBJaXXaWXx9d449yNXMZNS4MJMee/LBLl6fonHFPr8B4hNKmI0hyo3EBHNqhOWWPvTvDjTw== 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=lHewWRLC9scd5LGAdfLxZ0M5a4bDlEdV+RMHnmoyvuA=; b=KWyNvUDdYqzWF0OYdoh0p11Y5hj51VjCECKLxHo5jLhwBUM/HH75IMScaOUx+27U1JFLPf1FzF+xiHmkDON+jN1PE3Kc7ReKB6R7WkcN+wn4ej0H8GEY46T5rFRt1LLbAFnYyRPCha+3M5SG2zlQoYpUZbR+4/9dBeAbDhoeLBkNbeQ1UKF25NbWEAaOIYkHXuqusmVuACaVeAWVR5sryzuZU9LCa7lxV+y5VmE8qQMX/KsKL2vIwh5GkGPrWPAceeDIHQbuWz3ryzUGPhOmcDu2WMBquKtsVUZokRv/xhUHwDPqtrXzlNSi2H33fHtZTeEuhoQqkzm/6sVz8Xl+GQ== 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=lHewWRLC9scd5LGAdfLxZ0M5a4bDlEdV+RMHnmoyvuA=; b=nhIelauBDP1mwjobYpMPv49KOm599/Og9dcjk5FJWib1zQGg4vF4tRHK2GPQBt+5cwE/HedOL77Y7by3YyFRby0uVtRid7nmUtST/A0SREJv4yTu/6YF92HG0OMK/i9rDzcpEYL+F8I+SUpXEN8KKdBDcwVCq5iRsFsunV3IAPjmHx51T25k9PZzdNZeNNquzvEB2AkKK3u1hVB2mpRxbfld3ryFtC5GclfortXwuTpmaUZqCB77nYnHUNqzv+JDC5L0Mz0j3YgwTBBWToYOL0wV82seV6GV/gRh0dcK9s/9RrRsWc4Jr1swLMVo54jI1kvVTXuMSging/M/liQgNQ== Received: from MWHPR12MB1677.namprd12.prod.outlook.com (2603:10b6:301:11::13) by MWHPR12MB1486.namprd12.prod.outlook.com (2603:10b6:301:10::15) 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 09:23:29 +0000 Received: from MWHPR12MB1677.namprd12.prod.outlook.com ([fe80::5cdb:bda6:1575:4e3c]) by MWHPR12MB1677.namprd12.prod.outlook.com ([fe80::5cdb:bda6:1575:4e3c%10]) with mapi id 15.20.3912.029; Wed, 10 Mar 2021 09:23:29 +0000 From: Wisam Monther To: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" CC: "david.marchand@redhat.com" , Declan Doherty , Ciara Power , Xiaoyun Li , Ori Kam Thread-Topic: [PATCH 08/11] app: fix exit messages Thread-Index: AQHXFTxnFUQRh1oDp0S4kI9bfhYTcap882gw Date: Wed, 10 Mar 2021 09:23:29 +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: [80.246.130.79] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9f2b745b-6521-460b-107a-08d8e3a62ab8 x-ms-traffictypediagnostic: MWHPR12MB1486: 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:949; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3yHYV3U17MVh2CXNRIGqcxygYpExnpd2nQE7cQccxwVCPXxw2pGPTm0W9yOU9hmjhELysZfqlF1QOonwyn7gaMfM1bJ+dCBls1O0al5ZPhX1eGqBKFQIX9DU9Mpr5uHvza1ekEiDF/n5f30VQ1s4Xbw3RSewUlxI53yl37hqdjPu3aCe7WvYVOiZsQz13dtT0PoUda0waCDDlUQ6J/1H5PQIdmkxeGr7UCkfY+eCItsvxP4kvcOQFjoEi4iDf35Bs1szkL6RcfCwNe4hIcShVXN+alWUN4vCS1z0cja5qJsfuU38wdlYD/d5sl0YnkPS5DzXoatuEMHbzsDzL7g9gWS0HpN/a/EkUB/sDtpqn54sFY+EFbcMykQyxvsS3OpEnTXT8SKFIVmJtbmhRbD9777v188lhvqAx3ZY+jHwxHe1azAmre8QuHKvszvEAEMdvxax7JI7fTII6k7KLbqj3rm/waV4BDES27rTNluJ3SzeyzWF1pobvPNMBZkILsaVzxv6yRYMzG7aPTNNHaOw4Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR12MB1677.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(366004)(396003)(376002)(6506007)(71200400001)(53546011)(4326008)(86362001)(52536014)(110136005)(2906002)(66446008)(54906003)(83380400001)(186003)(33656002)(5660300002)(15650500001)(8676002)(66556008)(478600001)(76116006)(55016002)(107886003)(66476007)(316002)(9686003)(4744005)(8936002)(7696005)(26005)(66946007)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?HNcdBRxWWEny1vY5d0S7IeSaOXlWd6BHohyhBLXn1c3l4aurB8cVuEu/pcD/?= =?us-ascii?Q?HZ2Zlt+3GzVa3j+l2UMjxV8uzd/yRO9vJXrkJ6s6rz4Mf+QBFw9CD8crLKw1?= =?us-ascii?Q?hMgFsYRx8+OKeAkSXG2ugWEQHmT0dVsPrkFs0+C3QAEquT4okgr9j6eYkJrT?= =?us-ascii?Q?VLJExiBlWkLp/5Uro7P2Pav2aI5DxWN6IgnHcLxcW3KSjH1uNCtIqmoOLULg?= =?us-ascii?Q?cJkSeuEg2vOWRqqU/EmthgOpIkqVdH89hpqSZqt7mQx8Ur1aHvFAW9JcG2tn?= =?us-ascii?Q?n3LJUhe2d7tb+dY12SdbFKMA5nDhgtmu5KM+ixNFz4vJi+X9HkA7H8DsbpEN?= =?us-ascii?Q?etb42YtEJgPEKfZ1gtGNwCvTQc/oJ4v1ir69eZwGAgVJpUpSF3f65MkscVL7?= =?us-ascii?Q?WDIHfjn2+2VAX9aWYHBIlXSTBaSJSAGs2zm48KFnYtNF8t1CeN4nBkYq+Qjh?= =?us-ascii?Q?kfjvx4RKYklCgZF7ASb+VTs8owC6qZrvnWonMmtCReoWWZ1tDa/VHuFUGkqd?= =?us-ascii?Q?t2LTpHStepiETnFubJ/EreWKDZyV34jzNY1Uryh5297PNr3vOZjPhYwcCt9K?= =?us-ascii?Q?0Ygy3QVG4Dj+1L2o/kCvMoe5cRUaQ+NDCCsRY49O5dNd67G5lW3wzBn2/vT0?= =?us-ascii?Q?5azWD9GVe+bUJn3T2kJRfhkWoj7ZbiSnX858jesWdXUmXNHxmWl6Ryd3c7S/?= =?us-ascii?Q?s4ZICqJibgb2q3yAbkVFyv8yKxql4p7R+b/Eyu8yoGIuwnT1m8oMQtox5ivu?= =?us-ascii?Q?azp2AgItNhm+0nc3Rx72MEOAQUfzyHF1r5TJOpjk8mMOYFaugs+P7rYO1bcr?= =?us-ascii?Q?zA5auwCID33nMksy2o72CZFgB8ckMxDlkJ2pd9/WTH0x3tTJzq/VnLB8Zfpq?= =?us-ascii?Q?kiBtAwndNsBU5Q2bumVPp23wWjDjQqhswZI25HbY/hKSuv3rdMIETyPojnut?= =?us-ascii?Q?6iv17Hiz5orwrnSmmu/ZoAW33SigX9+fHy1r357sQW+f3NBoZFtLectCt43C?= =?us-ascii?Q?kG2U0daCiwvD5g1PfvSfPi8XSvkfzHwUAwFQFdimag08SV3JcO4OXyQxySbh?= =?us-ascii?Q?DFkEWoFkiJrythjgomdP3HKa79GXv9r+RsOqYimGwtu19Cxf7349kuOV7qvp?= =?us-ascii?Q?TpUQsztYlskdvlZYM0bmqyjgdvEtqDGYbvKxUjgDHQkK7eP1HH5veL9js0QR?= =?us-ascii?Q?Z0a2iiTxubqUVWHsGfDoxm8hHb8LIuOJzXjpfufku+92rIhxLPXzAPf96nAn?= =?us-ascii?Q?vHQvk/3rtHTHOwqnym5n3S4K3nMpuUDiFxeLb5UZS2/UrMzvSTaDcLRT/bg8?= =?us-ascii?Q?jPU=3D?= 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: MWHPR12MB1677.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f2b745b-6521-460b-107a-08d8e3a62ab8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2021 09:23:29.2497 (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: K2tKtXy7InsaIWVw/gPEl8G4gSqVVAX1wZ0qSXvgZpSSC8fnLIwod+cF/Ahe0Rx6xR+wet2gOaceLOmV56Duxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1486 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 > Sent: Wednesday, March 10, 2021 1:31 AM > To: dev@dpdk.org > Cc: david.marchand@redhat.com; Declan Doherty > ; Ciara Power ; Wisam > Monther ; Xiaoyun Li ; Ori > Kam > 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 calli= ng > 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: Wisam Jaddo BRs, Wisam Jaddo=20