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 E4448A00C2; Thu, 3 Nov 2022 19:52:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B95D410EF; Thu, 3 Nov 2022 19:52:51 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id D93C94014F; Thu, 3 Nov 2022 19:52:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667501569; x=1699037569; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=GF3sAkOlIqTbdcASPqKjqbZn/mGSwRJQeDAWce3Amfg=; b=QiycYgEzr8jdt+3Rmm48GiYKMjOl/Fta6h2lKBFSqdw3odqxVhIeIdag Q1gf2IA8UFZGUHOoVSii3MIDM8TX0ueyl8CBBBGiolKksoFjSDcLEmqod QPMePGszjrs8M3vCaj/wlLhiiEsRsRjoDbqXc/s8NSFnRxvkzPYm9lxtO /Pq6lYlG1wt3spSY+jCsIhcSTMB56KZ7QBoUYyr/2lzl9YFSWM5I6Xcg6 d8dAJc0jVKmQLGMB7Ur971LggHukM8YfvgbChsFt/QaOFwSKwEJb0zRM1 5l90ccm7RpFO54fwvbmKbkDiEi8NVtjFsOKt4iUZ712KFqAk62yhxbCNr A==; X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="310893508" X-IronPort-AV: E=Sophos;i="5.96,135,1665471600"; d="scan'208";a="310893508" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 11:52:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="777420118" X-IronPort-AV: E=Sophos;i="5.96,135,1665471600"; d="scan'208";a="777420118" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 03 Nov 2022 11:52:47 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 3 Nov 2022 11:52:46 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 3 Nov 2022 11:52:46 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 3 Nov 2022 11:52:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qolx+VRDFKhGU4Z3KfI9bRLr5wVwunnGAn7gw51C2me+48ak2h05bzIhhpBWiKbicOi1Wx4i9eVMlD13jwXisPi/NjHnv4FMNx5wuy0AUvuze8raMkM8p717AKduRtfjkQ9A5xWofdeOM9Z68/L2Nne1uBElA4jixMlB3e4EQ2YvkRn+eLMntYaeciqYJPsQjw/WRjXf8DCbTIDSgj14IDXmBpjc6897hnq2s5rL3Qng4Dedo+IjT1eSFaMjWqBekzvOP+lzrofy466IkeKDfDlErZ54MDBk/T/Gqkup83M/9tgaNfDnfs2AEFwu5t9nBO0vPS7rzTikOUrDjN9gRQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=akz17Wx9oUmoWkmqexdNCeFoPu6sOMkNvdUbKK544Cw=; b=lm5oIIRKE15DzclRQH7JX8Zbr/QdD0bCmsk6Ws0BN8GzcvsIRUMlUI0ZxPwDHWY5SMIN7rE8KKfJKs/uFMGkjlj/SSzMT7O1xZGz0wQdvcuNgcM+AUhfMRfy94a+fzE7PxkAQ3NC1hQonZy6Wd6B8Ehkf5APURcBKFadauopD5MLXYrojcq9YAcvQZ4dO+9Jk7JmP6ds68DytetwB8EsAycO2/bB7EA+oLOeUTLYidfEKh1Jy5f5VMDq+v6OB58tii/aQ+IC8emozmSH+PCqfrTFeGu4iGsMDQKmngP2ZpIooQza9kjq6Wzgi69wS39ha2Z8phw91AdqLfcBUKsxaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by CO1PR11MB5058.namprd11.prod.outlook.com (2603:10b6:303:99::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Thu, 3 Nov 2022 18:52:41 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::653e:d5f0:171c:666e]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::653e:d5f0:171c:666e%5]) with mapi id 15.20.5791.022; Thu, 3 Nov 2022 18:52:39 +0000 Message-ID: Date: Thu, 3 Nov 2022 18:52:34 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/2] test/hash: fix coverity warning Content-Language: en-US To: Stephen Hemminger CC: , , Yipeng Wang , Sameh Gobriel , Bruce Richardson References: <20221103181339.1135127-1-vladimir.medvedkin@intel.com> <20221103113300.29d85c26@hermes.local> From: "Medvedkin, Vladimir" In-Reply-To: <20221103113300.29d85c26@hermes.local> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0287.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::22) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5772:EE_|CO1PR11MB5058:EE_ X-MS-Office365-Filtering-Correlation-Id: a93e0bcc-57d8-4c71-100c-08dabdcc94ed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DsnndpnhTRrsImAF1uveGgCVpUw4iN5zF6ULf+9zRP/Qxl5lSL3AxeMKmkVZNSIt0eXMNIquxh4VVJAHWogWqe3aYj/7Fsst8eNSaM3lvBrl7cy863i4hPbiv0IrY0hXX8o1zNyLpUslg03q6u3H7UaLY0YHwed/O7BelsJDOeXfeURqyBYLnPZ/VxcwLjBiKlcpCzmqQ+3tm0eMdfSSNFyM9VrWNEJkJsqt7ws2iF2z6VQOs3zZy/VlXF8HeVbgM9N3p8xC1DNc8bM6mUhHuMBJzdLw+7K9MW4Hewavznm1B+gNjYKcMOM2ZW5uTgwFNdCyPZP0sKcd6qImWjdxQFHf909R7L+GX9T4j+h8Y6nGAX9ochJ6Dbiu86YwED8jjtlaFz/JiwNwtUtRBlLSbp6L3y/GFFDPf/5zwIrLDDgKMYGbIgRHcf5rFMDWrWPtvACPQIbvxWvmR/hsnYJ9siJI7mKvTeSg9qHvmDlkTHfv5cYhmChwoMOGmKNALkloYNgHg4JE0RSgDxDMX1Pcy/AX9lrOmHV7wAK+n0FHFusC+vBpzPUWqejfa+XEVMdyJc3MsFnGjre3LZxerTnGG7DnMLf4uhPFGNdOFzevWx/rpWW6fQg3PKsgi97CvgU0biCoVUHKnKCnjqoJu0jf7Mhaqixz8L7SHVn1Vfr4j+baa5odj3gLdb4LIuaEgh4ejITNWWwCXfFeyZsNXN2ixAcfhEk3Y8W5LDPYeWFIvQb0ccepneHJGa66vbCv/Q0GcnuXDoUFlfoMau0i1AJ+93K1AAe/GPz8dkHKPAcstDc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(376002)(39860400002)(346002)(366004)(396003)(451199015)(186003)(2616005)(26005)(6486002)(4744005)(82960400001)(41300700001)(6506007)(478600001)(36756003)(53546011)(31696002)(8936002)(6666004)(107886003)(86362001)(6512007)(31686004)(5660300002)(83380400001)(2906002)(38100700002)(316002)(4326008)(66556008)(66946007)(8676002)(54906003)(6916009)(66476007)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VlVEdlNySXJoWHA1MFo4VTZGZ1ZpdHFtK1BKd0JlcnVWemRZMWtDS2R1MzNH?= =?utf-8?B?VGZvTWUwc2VhU29lK2RDVlVKL0t6eDhNc2VQN01uZFZhV3BBeU1VUys4OXZz?= =?utf-8?B?YlNHNjUvWCtOUnB0Vldmc2g0aWs1aDR0WHlxQStOTnBwbFhWalJTR2xrb1BK?= =?utf-8?B?MVp0ZEprNmtMT29OdEtxUVo0aERJbFArQ0xwaXNRQjg1cGJHVzJjSEhKK2Vh?= =?utf-8?B?V0tPaFN3T3cxTDZnRG9PMEVlRE54cit3QURPMS9FMnVwRUVZYXRiL2s2S0ZI?= =?utf-8?B?dVpUc2l3V0txUExyd1VQZ3VCV2t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?B?R2hNRUxxSGl4cTRFVG5TcjBlMHE4K2JsYnRqTVE4L0lJZnRJd0xNQ01oMlZn?= =?utf-8?B?cGc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: a93e0bcc-57d8-4c71-100c-08dabdcc94ed X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2022 18:52:39.8700 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2YVVhLRP6DsJcs/hsMdLuMDmvZa6g+n6Besk2QYxLsYyaQ/kTDIMGkIJAr+Di9k8OKxxEF029V5vP+8J6qHiD3n4p2WeCZjdt17g0YCsWds= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5058 X-OriginatorOrg: intel.com 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 Hi Stephen, On 03/11/2022 18:33, Stephen Hemminger wrote: > On Thu, 3 Nov 2022 18:13:38 +0000 > Vladimir Medvedkin wrote: > >> + if (ret != 0) { >> + printf("rte_hash_lookup_with_hash_bulk" >> + " failed with %d\n", ret); >> + return -1; >> + } > It makes it harder to search for error messages when they are split. > Ignore any checkpatch warnings about this. Will fix, thanks! > > Also, shouldn't test failures be printed on stderr rather than stdout? It seems that most of the tests print on stdout. -- Regards, Vladimir