Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp3620918imc; Sun, 24 Feb 2019 08:54:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IZDc+xXd+Kw70xG3L6jdUJA/ujvZMlHAG/sJcuEUJ4/+y1ltJOG0O6YKeO5+8rlNj15yKYu X-Received: by 2002:a62:f517:: with SMTP id n23mr15364946pfh.209.1551027290846; Sun, 24 Feb 2019 08:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551027290; cv=none; d=google.com; s=arc-20160816; b=XmntMohBwW3qKntooD8L25d6ZtpCj8S5SxOfPNpmSEaT+N3ji21jjvau5DKUKroZy4 sN75rNFoS8g2N7NaMRuL++cPxyB1nibuxe/v1UpXPAZ90lhCCtk/bhiI02lacy/MNSvR MWYozII5cZgV2mBk43vh6fystV4wZzR5oFwnQ/WSNkT/Z11gER2R5Gcy3liFxEPoRhmw 1mkMuvKy60WxA3dnWZFG1QZD6S4BSaYPK4oyljTl/387EALl9PKzlfTsKJSDyrpTEWbb Xr4FaGoWb7B+chCWAZeLw2TMuH5ysTXwnRNxsjktNqSATs3R9WWBkjuenMFe2Sryvpe+ XmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=JRCN4KiKd9aYMdvScn8MzFxPdh54+vtN/BbIW17yB2c=; b=pkiahblPYFzRYuADmltFcTeb0cFMSU7dlEdMU9wux/HFZeOQzs9FkzVckKauBYeTBG UTvwyVRobUwGrOny7BF/mQWom74y5s3wKQOdfy2pTVT5btnUszzNZLF7KqUtChoI8Q0c ykBVB0zX/lvAqgicTQEV269PZewClBml8ZoE/4OvgQgLBtUJIVFDDPb1uyc0KXOfIKjj P2rlFgs9ouDPDPuKg0S16XhrQGe9UEg/uWJ9xe7yMyzw5dQpBuOu6cDNF8DFj94jpdCV qDDfk4EApm7Gkl859pev3/NfzMQQJS0ASCnfG9uH0tEHei1bqOhvBXNOWoKpvjVphmED I0hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=JTlGThxr; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si7067774pla.335.2019.02.24.08.54.35; Sun, 24 Feb 2019 08:54:50 -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=@microsoft.com header.s=selector1 header.b=JTlGThxr; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728525AbfBXQyI (ORCPT + 99 others); Sun, 24 Feb 2019 11:54:08 -0500 Received: from mail-eopbgr750108.outbound.protection.outlook.com ([40.107.75.108]:29286 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728179AbfBXQyI (ORCPT ); Sun, 24 Feb 2019 11:54:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JRCN4KiKd9aYMdvScn8MzFxPdh54+vtN/BbIW17yB2c=; b=JTlGThxrS1WUd49ITDwrDx2nngas54Zo5nvqHzgNRMgu9hEYRaNX0VKnwf5OD/4Zlg/i5beD9R5Y0OyZaJDYPDbYo7wVM+/BtTv65KKSILW517gZ5/LvG6cjCIuiiXiP+VuSYzjjna7xt/pBvPRAEY8yxex7MdxgsihwybutapA= Received: from DM5PR2101MB0918.namprd21.prod.outlook.com (52.132.132.163) by DM5PR2101MB1030.namprd21.prod.outlook.com (52.132.128.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.4; Sun, 24 Feb 2019 16:54:04 +0000 Received: from DM5PR2101MB0918.namprd21.prod.outlook.com ([fe80::ec2d:d32b:e611:553f]) by DM5PR2101MB0918.namprd21.prod.outlook.com ([fe80::ec2d:d32b:e611:553f%8]) with mapi id 15.20.1686.003; Sun, 24 Feb 2019 16:54:03 +0000 From: Michael Kelley To: kimbrownkd , Long Li , Sasha Levin , Stephen Hemminger , Dexuan Cui CC: KY Srinivasan , Haiyang Zhang , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2 1/2] Drivers: hv: vmbus: Refactor chan->state if statement Thread-Topic: [PATCH v2 1/2] Drivers: hv: vmbus: Refactor chan->state if statement Thread-Index: AQHUymFJafr//wA1P0WAFfBXe7I1j6XvLhRA Date: Sun, 24 Feb 2019 16:54:03 +0000 Message-ID: References: <20190122020759.GA4054@ubu-Virtual-Machine> <1bb109543adc60c1f349e0c6f290591804b4289a.1550806305.git.kimbrownkd@gmail.com> In-Reply-To: <1bb109543adc60c1f349e0c6f290591804b4289a.1550806305.git.kimbrownkd@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=mikelley@ntdev.microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-02-24T16:54:02.1428765Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=6ee00396-5cdc-4133-9c7a-10b5444b7874; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [24.22.167.197] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5dfd4c30-9589-4948-a18a-08d69a78aed4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:DM5PR2101MB1030; x-ms-traffictypediagnostic: DM5PR2101MB1030: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-exchange-diagnostics: =?utf-8?B?MTtETTVQUjIxMDFNQjEwMzA7MjM6Zy9vK2dsMWRkNGpwK3hsWnhMeHVTRmI0?= =?utf-8?B?ZEJYRS8wV1hVZFNSV3JvTFJQcjZ3WE9jQjRXeWJIZ1RXV1ptMW9IMTJ6b1hq?= =?utf-8?B?TDdMeVBlQ2hzMVFyamJ1UWtsNW5mM1dpMGRBcXlSaUdFbXEyb2s1LzRNQ0Rm?= =?utf-8?B?M2V4b1FNTCtQZEJvNGdpQ082Nk1MSGtrRHM5RTJ2MG1lVE1xd2tyWWVoZDdH?= =?utf-8?B?ZDhOdCtyN2JKZTdMZk1udGdzOXU3clExTThxR2xIeGpTU0FEUngwZ1VJRTlh?= =?utf-8?B?MGZGdzYyc1VYMWZGZmRRUXNWYnp1eTlCalFVcmx6YnBmMUxvOFB4OCtUdjVw?= =?utf-8?B?VjU3RGZBYjBDY0py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?B?NXlRQlByMGRXUStKNHNGdzlCdTZuM2czWmZEeTBuQ2FSWDFnRmdsRkM4cWdp?= =?utf-8?B?OFVJRHJvcW9tU3JIRHc2NVJVMzlvdEhYazBwUzhUS3VkOW9pd3cyN1VROExn?= =?utf-8?B?MkFjaXBaSzZGbkNsclFIOVIxZHhFRDhWUTNVSmxDKzNNb3V2OXBpdFFxcDJW?= =?utf-8?B?VUx4K3VnZ2NFcVpORDJNSm50bXZ0TStXUnZvU3dCZXBNWlJxTlk5My9Ud1pW?= =?utf-8?B?cWlYOUdBdlNjVmtHN2ZTSVd4bFdVY3Bua3Y2cTZacHU0M3JUUEY1bFdzaUJS?= =?utf-8?B?ckNTR0x2bGtldlN2V1BTaWpsanpIVTV3RDd3ZWFuMURKK2U2QlJKclVodnlG?= =?utf-8?B?RmFYc28vdFQvKy93bVVYSlZRWjFMUlpaVzNoWmlRR1NIVzVhdVkxU2NpaWl6?= =?utf-8?B?WWgxRngvcGYrNWpZV2FVK1J4ZHJvcm1CNnVGeVRZMjdhc09PSnQ4WHowbzZD?= =?utf-8?B?WXFDUVJHWUR4Z3I1T2FFVlpZTmNKdWUxTmFON3N2cTFYUkhteXk4YTFISnNC?= =?utf-8?B?RnphdDQ1NGRmOFVYU3JnTkQ2bjJVNDlmbzJ3Skc1eVhJdjhuRXVNNlRLUitU?= =?utf-8?B?ODhpS0NpeXZRcXltWmd0cjNuRFpYQm9neXk0ZzRqbmhkaHZJR3dhTHRxdjFW?= =?utf-8?B?NmF4di9xZTV3Snc9PQ==?= x-microsoft-antispam-prvs: x-forefront-prvs: 09583628E0 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(39860400002)(376002)(136003)(346002)(199004)(189003)(8990500004)(4326008)(186003)(1511001)(74316002)(81156014)(54906003)(97736004)(110136005)(7736002)(305945005)(8676002)(81166006)(6436002)(33656002)(256004)(229853002)(102836004)(14444005)(6506007)(10090500001)(26005)(316002)(6116002)(3846002)(2906002)(68736007)(71190400001)(6346003)(9686003)(22452003)(71200400001)(86612001)(25786009)(7696005)(478600001)(10290500003)(476003)(66066001)(486006)(6246003)(6636002)(99286004)(86362001)(8936002)(76176011)(446003)(55016002)(11346002)(53936002)(106356001)(14454004)(105586002)(5660300002)(52536013);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1030;H:DM5PR2101MB0918.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=mikelley@microsoft.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: UyQx5LOFRUllSy2TkGpl13/BYGrSBHSdr4kG0OrF3aJ8NtPpBIGK8p8CFM1qIVWlKpHZQjkQ/XLlwWXZLAKP4c40sAKLImfQxQueqJp10VWH+fH2cG+ZIBnpugqnYclg6x9+A8jO3ZU7OZ+46oWiCUcaYSOaYv+VrdNxL+/O32S56c39swmi9IUSPmhftP4uX/h1gnCyxjSRyshX+yo4RSIcHTybAZNE8fmr6i+RoCMi/xo8c//D992Da9cHzDALD/8+VglnoP+h4MPzBgoAgGC4t5SiJA9KUxHZzx84smfa6pxs1XI3+pIJZjCuHkBxksgNzzCFbidMj6DADYlBpyeKm6FrM2lzb7HTOOjskuXh6/EL+6cXk8z1YlX3AYCaaaGXPGQyJNXZjx8ktsCkMMIGp6AZZBejw2a3rl0eIZU= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5dfd4c30-9589-4948-a18a-08d69a78aed4 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2019 16:54:03.8138 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1030 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2ltYmVybHkgQnJvd24gPGtpbWJyb3dua2RAZ21haWwuY29tPiAgU2VudDogVGh1cnNk YXksIEZlYnJ1YXJ5IDIxLCAyMDE5IDc6NDcgUE0NCj4gDQo+IFRoZSBjaGFuLT5zdGF0ZSAiaWYg c3RhdGVtZW50IiB3YXMgaW50cm9kdWNlZCBpbiBjb21taXQgNjcxMmNjOWMyMjExDQo+ICgidm1i dXM6IGRvbid0IHJldHVybiB2YWx1ZXMgZm9yIHVuaW5pdGFsaXplZCBjaGFubmVscyIpLiBUaGF0 IGNvbW1pdA0KPiBzdGF0ZXMgdGhhdCB0aGUgcHVycG9zZSBvZiB0aGUgY2hhbi0+c3RhdGUgImlm IHN0YXRlbWVudCIgaXMgdG8gcHJldmVudA0KPiByZXR1cm5pbmcgZ2FyYmFnZSBvciBjYXVzaW5n IGEga2VybmVsIE9PUFMgd2hlbiB0aGUgY2hhbm5lbCByaW5nIGJ1ZmZlcg0KPiBpcyBub3QgaW5p dGlhbGl6ZWQuIFRoZSBjaGFuZ2VzIGluIHRoaXMgcGF0Y2ggcHJvdmlkZSB0aGUgc2FtZQ0KPiBw cm90ZWN0aW9uLg0KPiANCj4gUmVmYWN0b3IgdGhlIGNoYW4tPnN0YXRlIOKAnGlmIHN0YXRlbWVu dOKAnSBpbiB2bWJ1c19jaGFuX2F0dHJfc2hvdygpOg0KPiAgLSBJbnN0ZWFkIG9mIGNoZWNraW5n IHRoZSBjaGFubmVsIHN0YXRlIGluIHRoZSAiaWYgc3RhdGVtZW50IiwgY2hlY2sNCj4gICAgd2hl dGhlciB0aGUgY2hhbm5lbCByaW5nIGJ1ZmZlciBwb2ludGVyIGlzIE5VTEwuIENoZWNraW5nIHRo ZQ0KPiAgICByaW5nIGJ1ZmZlciBwb2ludGVyIG1ha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