Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4135489pxu; Mon, 30 Nov 2020 19:05:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0c70Fn92NeLPgVmWBzGa1yAHiihondYr+sKeqXL4vmyZF2MnRpGtbf6quj3u+mYqKyFIr X-Received: by 2002:a17:906:c046:: with SMTP id bm6mr993144ejb.436.1606791958155; Mon, 30 Nov 2020 19:05:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1606791958; cv=pass; d=google.com; s=arc-20160816; b=otljqAwIkX9wfMmPVNNBb/IfBb4SfRjpNSx4d87JZUrjxWrH4vzY1Pl7JgpmPWArZx V1gaBWnjSnQ03Zm+DZGIjEWieK7Jh1hYlOGvtnLQXCKr9YczUzC4eAWFiYS2NygVSiw/ qtdELSdeQp0knH2z+p0CUryI3OqNGo6DmG9T6YWMuaUpDCfm0YeiVMskg4o9aWF/cpl+ 2GibL9K2hCd1ziK0SA14bGTMRWUNnbfz45LyFoiZhrog6p+4J/x8nf5JjVliuuxhe0h1 l5Lz0EIiTmlDz2x7rEVnoAVvbLgHoD21tjfx6AeY437/k3GSXFDT4/PaSu7RPc3fSLeS +jqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=jl+iErc3fVgwWPp0a06KrO5RipMwUjAJ5vx5lXd9o8U=; b=r5ZLmdm6Bj9qQE8w4dfObbUbtYDrXumY368QvheI/eLLWfX8uFL7FnFKGMKOi3CuZ4 tPmVSy6fumtW6VIkdnTVppinieWXU84Yft/OjKz1G99jjtrpmIe8G5/5hwNOZ0Rt84hJ fu5oS9QxldaB8aBFrcFRE9ImXXKOWg2IQvCwB2Z7P/SjpgmBFzYJrDOAelVC0rg82lBW TdFbAbo84GvQf/PVKon3LxRhnuplD03wumUDGBHMO27ZgsCNjpfBBxlxfjAX/XQYr2hw gR28D+oLI3KAZxv2d4WrhNOoA0SyCNsuB45S8xxfk6zTiUPY1NpAYSVfdAo/tuRFmX+z NnPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppoglobal.onmicrosoft.com header.s=selector1-oppoglobal-onmicrosoft-com header.b=I0oWajdN; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oppo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx16si298772edb.470.2020.11.30.19.05.35; Mon, 30 Nov 2020 19:05:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oppoglobal.onmicrosoft.com header.s=selector1-oppoglobal-onmicrosoft-com header.b=I0oWajdN; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oppo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727349AbgLADDg (ORCPT + 99 others); Mon, 30 Nov 2020 22:03:36 -0500 Received: from mail-eopbgr1320074.outbound.protection.outlook.com ([40.107.132.74]:2784 "EHLO APC01-PU1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725859AbgLADDg (ORCPT ); Mon, 30 Nov 2020 22:03:36 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SCZCYb1jBpv/KY7TKAckDX0YT9jNdlsSnZHwSK96t6dUCKgqgtyRHaJ5/WrYjVqDe1NOm3O0sdS7c98US/DxwsVkK7z6FBAerZbTbLys8yGscH7cz872FHgsGofnoQ9xLFkhiTH4UJ8vx6W3ykjMYc/I1MFZZFkdNr3ggsPVwCRk+YZaUmk2VMUMUqwvoE/SDt5qGHTlbVNjboiOxK36v7i3BmqxX67EMb0dQkSnYBMtq7r98WJynUl7bMWyl/mQsccBxv9FaO5Opiz7WhjZLWPzDTpzn+DWBQ+kCPG53Ml3Tkny9whP6SswKPRTg8PIyklZxmtpVURCnr4xZkQAqQ== 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=jl+iErc3fVgwWPp0a06KrO5RipMwUjAJ5vx5lXd9o8U=; b=TXDPKk/PHlfYkygokU7bFztk07kIWKaAx2EXbqChdGswaRnypZsWWVG1zz7aO7eoc54XItwIyFRmgBA/jTV2d5Ic9rXRJdsaDhIwdfrqqRyYnNJbFgFlY8HWBgSUntDw0uIlAmF9Z96CVgFQt9NQCq+fRQOdBw/wLGI6lcbQSo7+S40IPue7PqGIrsmxAt85/n8DabLPzUMkfHlkAd4eLyIzFx4bl7ocPTcg9KjZD6RC4rprzaGbGPcTOWMekxH/xUm4yH98WnnbO1Mhq1tOfC+uahmCDnl8V6pApTJCuysZY3E+fHHUKlVtwxksOoCawJ1b0GIZXSMFOg2qTurQ9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oppo.com; dmarc=pass action=none header.from=oppo.com; dkim=pass header.d=oppo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppoglobal.onmicrosoft.com; s=selector1-oppoglobal-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jl+iErc3fVgwWPp0a06KrO5RipMwUjAJ5vx5lXd9o8U=; b=I0oWajdNEYM/wVA9F8y6Dg6UuwY06ivPNkga0m1ttpi/Ji/q/BaNLTo8jo5NKHAzx/6ycCc0R17a6pAbN0FWuDI/ZumIGgsWi9o89d71aq+UHR3cr5AmfP0p0PlqU0GwpI4VtD9X5c+UBki8kATAFXyjPNksgrlaZxQh9MrqJBA= Received: from HKAPR02MB4291.apcprd02.prod.outlook.com (2603:1096:203:d3::12) by HK0PR02MB2435.apcprd02.prod.outlook.com (2603:1096:203:1d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25; Tue, 1 Dec 2020 03:02:02 +0000 Received: from HKAPR02MB4291.apcprd02.prod.outlook.com ([fe80::b9b8:aaf4:2afd:218b]) by HKAPR02MB4291.apcprd02.prod.outlook.com ([fe80::b9b8:aaf4:2afd:218b%3]) with mapi id 15.20.3611.031; Tue, 1 Dec 2020 03:02:02 +0000 From: =?utf-8?B?5b2t5rWpKFJpY2hhcmQp?= To: "ast@kernel.org" , "daniel@iogearbox.net" CC: "bpf@vger.kernel.org" , "linux-kernel@vger.kernel.org" , =?utf-8?B?5b2t5rWpKFJpY2hhcmQp?= Subject: [PATCH] tools/bpf: Return the appropriate error value Thread-Topic: [PATCH] tools/bpf: Return the appropriate error value Thread-Index: AdbHjjE+0VhjdcMtSGSpXeObkYLiYQ== Date: Tue, 1 Dec 2020 03:02:01 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oppo.com; x-originating-ip: [58.252.5.70] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3083d4ed-9339-4640-10ee-08d895a579f7 x-ms-traffictypediagnostic: HK0PR02MB2435: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rJMAWqQEV1M/wAM7/vFzB32lIjkc9PCVUpiP778OUpDw1AbwalRgHkzee+qXVMyGxMQ0hZGcKQnTtqK5JRDgUdPc9UoVy+PZkFZWVg5utDzs9XlDGKmllH0pbw9hQzPpgSRbuu/j6g8LI/acYWcSBI8jYDOuQfTsGFpWhBRiwMTzDlWsm7RTC8V7sWrNi+IC/oCYVUQzWJENGUokbogkDw6htYTduycfVkEiKbNhRvxlcYTP0yOatqdtBBbBthy2LL32V07ogO6/2tQjL06+IBS/HXVkHVwseOEasu5jwIKFT1XMaT0DdlHvuYoeDcb8i9T/rYPOT+vljw/x3OULEHhXcmfe1hlFxmH2ttSNQH4OcAMPlRpCEtkKTh/Neyxb x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HKAPR02MB4291.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(8936002)(110136005)(52536014)(107886003)(4326008)(54906003)(33656002)(9686003)(55016002)(4744005)(316002)(71200400001)(478600001)(6506007)(2906002)(86362001)(85182001)(186003)(26005)(8676002)(66556008)(5660300002)(64756008)(66446008)(66476007)(7696005)(83380400001)(76116006)(66946007)(11606006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?UHZzY0hMZ2lmRHNZUFp3Y2lrcG9aZ0orOTBTR2ZSSHQ1aEx1eFM1LzlmREVS?= =?utf-8?B?ZEo5Nk43Y01pL2pXVWFHMnhtSzRnZ3RJVSttZjRqL2Y3ckhUNCtOU2NKNnla?= =?utf-8?B?bklWbXNuNDdFclVqeVVZaHRlOHd1V29lUVIvOVVGdlQ5SVhNQUl3eTRvZnpN?= =?utf-8?B?VmMzZEROYk14SUV2YnJETy9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B?SHk2NXpuOEhGSXpVQUx0ZUNsOVV3Q0ZBbmo0eDhxWHhLWHpXb050SVdIN3N2?= =?utf-8?B?Z0lDUHFKcnpqS1dtd0RCSjMrWS9LQnkvUlE4UWZMcWkrclAwY3pqR3dIbHNE?= =?utf-8?B?WHNDNWFWaUhxakl6Vmgxb1Q2a2JCWVhoVlRQMkM2bnRIM2xXdnF3Q2lWNnNm?= =?utf-8?B?TlhzQ2Y0ak5VV2wxc0lYSFRZb3o5TG51NmhHTVM3bmV3dk53eGdZUko3RUYw?= =?utf-8?Q?DFK/EKhNReuDA=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HKAPR02MB4291.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3083d4ed-9339-4640-10ee-08d895a579f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2020 03:02:02.0446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LUgFueCsMzNxRxaFzM59iZl6wz+KS+ftzUsMrJY5siL3fYTRDLnLqHwzfRskg4JFYAMzPxzAJmpC+klzHfw9Yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR02MB2435 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Q29tcGlsZSB0aW1lcyBlcnJvcjoNCiJFcnJvcjogZmFpbGVkIHRvIGxvYWQgQlRGIGZyb20gL21u dC9saW51eC92bWxpbnV4OiBObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5Ii4NClRoaXMgZmlsZSAi L21udC9saW51eC92bWxpbnV4IiBhY3R1YWxseSBleGlzdHMsIGJ1d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