Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1392991ybc; Sat, 16 Nov 2019 22:27:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwvopwSY6SBu3nsuI2wzOSXduMntFpJArZUcjCKdM1OURpaPEgtLZTGdgEMS/ZN1hKsfOaI X-Received: by 2002:a17:906:9458:: with SMTP id z24mr15431536ejx.289.1573972073410; Sat, 16 Nov 2019 22:27:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573972073; cv=pass; d=google.com; s=arc-20160816; b=mLGOAswlZGZQi5JoEb27LWUdauVU+GLZ8UspsfJIc73cK4j0NjSU3QmKxraDFbhcF4 ykD08W34xAi8mytZ9t2NVjEX0rbMlbOod2B+V8giNGUsYh+r3b1pcriXAzj4MWhRhTO6 v3AAk+/vI+/ce30f17S95XbZDQXm4SwlegRynJEWTp2FBOdh6b1h2FnGEZhtSd4TdZMj HYvvRE9c8oR+8F3O0M+TQMG9xChuXkhLx3vQLjMXf3XIFNyj1i36g62CLvEKaRt8di90 gBzPtpktnNGlxhYjq7BIEYXcXH0p+eerOB2rq2IN5ml651D9DFRB31J7UXBuLH8cDL3d 0X7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Ni2ALoS0Qionw5l/UJ1SVFpvs26hW5caGsD4s0kPg6s=; b=UVifEIrRCqjWplHglnGvJWChh6joDKjd9albj6BpmBzziM01xjm+daB5jR0G0G+F9/ uMtErEUisI1prILgz8CgrddxYxBXLrORQXlKC5vCaQAhdvx+q8naYqq0xQ20BgNiqnpF /fAGqdxJom5V9TOfMd0zdccmEoYFnazIDEUO6xTq4flVVg3xiFkQkMDi5jrRy0LDP+Nf 8lb7ko5Uucn7TB/JeMRApr364DYknioLMwqI4Xj84oOGqb0J6uNigBZiULHZaw+pn75J tcea3OX63DgsaRLOLTZ+JgdJYEFezGLYKL69xVvsnoAIOaln+TS5vKO0TaX9GC5SrnFU tmlA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@habanalabs.onmicrosoft.com header.s=selector2-habanalabs-onmicrosoft-com header.b=xMg7IMhp; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18si9365268edr.347.2019.11.16.22.27.27; Sat, 16 Nov 2019 22:27:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@habanalabs.onmicrosoft.com header.s=selector2-habanalabs-onmicrosoft-com header.b=xMg7IMhp; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725962AbfKQG0T (ORCPT + 99 others); Sun, 17 Nov 2019 01:26:19 -0500 Received: from mail-eopbgr40125.outbound.protection.outlook.com ([40.107.4.125]:64422 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725867AbfKQG0T (ORCPT ); Sun, 17 Nov 2019 01:26:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S+fPSL+U8fttDkdcd0/0LMeq2zvlLK6PfXwu50h5EVROqI9E+aX8zwqGN3NpZVx83TmWlpnFvhZ42LB4eYeUPCNoqiziGblQoB2yCbR/ObRKHPQ/Q+p20vf0A33oWKKw2ab3q6MXYGaKDyKO01CfRZsPZt/Ow0QYTApizq78hn34vz9NVmMfoOd9PvnudiWuwevswsp1krklmohxsqEjX+uBFZqvsFPmhf/S7gqhARBk8PWq5bK5L5WFLDiB3p1IoFYpPvvnPXM4eNWalFigyIOGBg6Yn8MUCyBXHbrT8GARDAl7PhsP6X1I53yFBGRNysZ/cbYrWJyTvVYmE+yw1g== 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=Ni2ALoS0Qionw5l/UJ1SVFpvs26hW5caGsD4s0kPg6s=; b=OWW7jIS72Cu/MaKZTuxbzaAqrkppo37AdwEkpY+EAt5DBzODIIjYum918vsXq4XFKs18Hv7A2Ftv6RC08kLCaY0nOsRROP3As1XCWTNXl1aaG5DbSAMm4059uWDPpVNqUgH1q8+Xnvu9xWxG+OyjGh9ExeiF9HMxkDn4SKxay9cpnd6oGJBObzJJEgWylk4YIMMQI34KioDN2Ks5+eY+beUQKC4xLZElKlqqOljaK5lQ2ht+sJCzkSxATLgkuY4W5r8ajQ7U07G5yLVmTQJbkvCHXBs5LkTBH41dlmf0A9AzDeJDrDIyKXZEZion3RMRY+woRotxD7QT13tBenIiaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=habana.ai; dmarc=pass action=none header.from=habana.ai; dkim=pass header.d=habana.ai; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=habanalabs.onmicrosoft.com; s=selector2-habanalabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ni2ALoS0Qionw5l/UJ1SVFpvs26hW5caGsD4s0kPg6s=; b=xMg7IMhp8E/+isyLKkrPu4l0t8R10kTKvCVDvNJaCyx+AMxu4XcW4YYme6lCZLczSdA6kddIfeUth/dOZRpxYROs61ACPOscWYBQ9EgIqSTPBwI6UtUkz1wamyWWDVyOt3nsCEbaNc6R5K4sgo+D/G95ROVDOEOZOO+Mq9Gzkd0= Received: from AM6PR0202MB3382.eurprd02.prod.outlook.com (52.133.8.16) by AM6PR0202MB3320.eurprd02.prod.outlook.com (52.133.10.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Sun, 17 Nov 2019 06:26:06 +0000 Received: from AM6PR0202MB3382.eurprd02.prod.outlook.com ([fe80::240e:7545:887b:939e]) by AM6PR0202MB3382.eurprd02.prod.outlook.com ([fe80::240e:7545:887b:939e%4]) with mapi id 15.20.2451.029; Sun, 17 Nov 2019 06:26:06 +0000 From: Omer Shpigelman To: Oded Gabbay , "linux-kernel@vger.kernel.org" , Tomer Tayar CC: "gregkh@linuxfoundation.org" Subject: RE: [PATCH 3/3] habanalabs: make code more concise Thread-Topic: [PATCH 3/3] habanalabs: make code more concise Thread-Index: AQHVnGlOIBQKGN7YOk+pLovyNXccvqeO5dHQ Date: Sun, 17 Nov 2019 06:26:06 +0000 Message-ID: References: <20191116103329.30171-1-oded.gabbay@gmail.com> <20191116103329.30171-3-oded.gabbay@gmail.com> In-Reply-To: <20191116103329.30171-3-oded.gabbay@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=oshpigelman@habana.ai; x-originating-ip: [31.154.181.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 71461e69-9cf5-4a38-7d4a-08d76b270702 x-ms-traffictypediagnostic: AM6PR0202MB3320: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:873; x-forefront-prvs: 02243C58C6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39830400003)(396003)(376002)(136003)(346002)(366004)(189003)(199004)(99286004)(110136005)(316002)(102836004)(6506007)(7736002)(53546011)(74316002)(186003)(26005)(478600001)(86362001)(66066001)(6636002)(76176011)(5660300002)(71200400001)(71190400001)(4326008)(14454004)(2501003)(55016002)(7696005)(8676002)(8936002)(305945005)(6246003)(2906002)(9686003)(81156014)(81166006)(52536014)(66446008)(446003)(33656002)(11346002)(76116006)(6116002)(3846002)(229853002)(558084003)(256004)(486006)(25786009)(64756008)(6436002)(476003)(66946007)(66476007)(66556008);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR0202MB3320;H:AM6PR0202MB3382.eurprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: habana.ai does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MsIB53DMf9SkX/ffkG4T+cRRdZBh4RWBAd0sMyInqmggRi3ZxbQp7Yrju6BGtaX6UGRjbTu3hKuVTqjVsAkV9s+Or7QItrpnXZcNMDLaVSTy3MTNmwo2yJSqmKsG+QvI/nZ/wfTy1CPgcLEoNONzcqS1+mYKBXgg/YbVUu8L5ZIHwICRUBe+nn5qhDpWuapSmxa53S+YmseaSg/Heh5mRJ4bM3e2DpdZmlRkHQj1M30QrinCu55XUnAlA2r651vUR7AMxxXnPdlPduGMQgMRvvcZskRncpgnWP1ZDAXActkGsRMvkVrl2VyoKBh8yanCfWMjia17p0VGcrFiUnlwX/9/UI81Mlxu5bqIzTDfKXpwG+QpmlERjPmoMIVAzx/cswZlwPlYVHwVylJ4QQI+zbtlWqmJji5ryHZx+ZPF0gPN0DQmNC/VrxrZ+kD6gMCL Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: habana.ai X-MS-Exchange-CrossTenant-Network-Message-Id: 71461e69-9cf5-4a38-7d4a-08d76b270702 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2019 06:26:06.0485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4d4539-213c-4ed8-a251-dc9766ba127a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 49CXiU1EBMazL6vdxqkSRrfuafOi/M3+tCIUEKtAkbUNduchpAeoKdmWe2YYYqK6BYOtis5zgFYPEthKYRBBUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0202MB3320 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCBOb3YgMTYsIDIwMTkgYXQgMTI6MzMgUE0gT2RlZCBHYWJiYXkgd3JvdGU6DQo+IElu c3RlYWQgb2YgZG9pbmcgaWYgaW5zaWRlIGlmLCBqdXN0IHdyaXRlIHRoZW0gd2l0aCAmJiBvcGVy YXRvci4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IE9kZWQgR2FiYmF5IDxvZGVkLmdhYmJheUBnbWFp bC5jb20+DQoNClRoaXMgcGF0Y2gtc2V0IGlzOg0KUmV2aWV3ZWQtYnk6IE9tZXIgU2hwaWdlbG1h biA8b3NocGlnZWxtYW5AaGFiYW5hLmFpPg0K