Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1008969rdb; Fri, 9 Feb 2024 07:43:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUw7MQLC324riJ3btu3sZH9nn17b8dNosQMriF3hD48rebb/pfXlewKXDWdBwTkuP8US8H X-Received: by 2002:a17:90b:4a92:b0:296:a43f:66f4 with SMTP id lp18-20020a17090b4a9200b00296a43f66f4mr1898527pjb.39.1707493400259; Fri, 09 Feb 2024 07:43:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXX/0WIEN74GhJ/YHXQpiH8RVoa8mWOj1tdBXXn4bMMErOer1J1T5sDAi9ce/jP1Bn93Zlbe1LLg8QicBtW1BzBSk5CJGF/CyYetM+7Zw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l14-20020a17090ac58e00b00296fb137edbsi1828062pjt.57.2024.02.09.07.43.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:43:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=Bm0Uk1g4; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-59540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2CF9DB23229 for ; Fri, 9 Feb 2024 15:33:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8358974E13; Fri, 9 Feb 2024 15:33:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="Bm0Uk1g4" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10olkn2100.outbound.protection.outlook.com [40.92.42.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98F186F06C; Fri, 9 Feb 2024 15:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.42.100 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707492809; cv=fail; b=rktIhq3YaoQ+mtmaqN5zyZg934lnBC/UPnD1qJ+cj5Q5hjfqd0Wdde8sVIuICaWNrezSE0Loql8UAIeBxoQyxsv91Yb/E6oFqEzMACMBfvokbmMjZ3m9wo80H2AI5rsfYwxpPmmg4pGY6SoxHFfFYvcvngI00gJkYxt43cYl/gQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707492809; c=relaxed/simple; bh=GoHwm58jGAdbaXhT6Ntnu7V5ieYE4SEshwlLTHUyRs4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=PkpXdeTMEb5GFU67pDBfiNBo/1emBNBDeIAo0kegyTpX4f9+AMw8o6Z8xPVFSOMx/t73sVILAscTEIGIIvjwaPu1MhqIEd5poJ8OQDsWUL0oyJwoA3yAO3wu1MAxCDZ2KMldf2ak2RqrP6CkwouAh4n1q2RBJMfFBC2AnWvkAxQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=Bm0Uk1g4; arc=fail smtp.client-ip=40.92.42.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MODej/SHlckZp/6mpcgMktlCVTeCkcW8rZ6onJEnnFA6CHRcnhu8A0jqrAausPIzGNFoAnPXYdSe175AYGG3QMzLQfWBldwbSOlUbEagTxlny5xuzMXKxA++XOZ9Mn2BxOqq7wL/HKYZi4fi77B4xnZ8Qlz9EcT30L+N3fftLowaHaddZ3zzjWizD/Ks1l8f9RHNDjZUr+1K/+pzs2xHrQgh2lqxjI2Rzl+nskBvH+ZheOhBKj18VZ/m/MMbUQ7z5mIiyPbO0dloUYO99hsJgtEv+LPPqK86pEng1o59smlyHa08idy151zPpuR7XuRO6psWjecaAhCszbr7QvDc1A== 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=GoHwm58jGAdbaXhT6Ntnu7V5ieYE4SEshwlLTHUyRs4=; b=hXaRWacJ+iww/e/Mcv42a0EpVfCwF97lBGMZ9B0qY7iYM8RVE4DszDM715vMeGalvOJ36g/fJPY+8+KdUxXHudenzXdDMuEcWNredr3ZX4/E1FvxlWSIKSJey0DkWWI4OYp3VD7Ypu09zw3QqgFZ0zFiIda1ztxgIa6qw3bdTDr0PXg1py7LOYMjda0dgwGd7Rc3G7uXfE38VhddAP42zKUXXq2WKRLJszHxoDidhYYPo8yzx8ZX9x+VOn6uXd9hO8GbMATgFt0MxKPPl000iy+ILE3B9w3bcJSRGNyXs7CQ2BCDzdujZLuJham1y11hLW7R/YnozQka+oXnRGlqFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GoHwm58jGAdbaXhT6Ntnu7V5ieYE4SEshwlLTHUyRs4=; b=Bm0Uk1g4oUNK+iFymIOzqopBeCHl+M6vTpNVrWaZzcLM7RoIswqBxI719gLCZg3WgKzBksTedOCh7rxeXaC6ntjok46UG41d5N1k0NCXdgc8rB6BmWauiV87gwDuCjgarstOaiXWQm0kz8KtmnUbSmM0Q5axXz3Keu19MLrxBEG15hwsa8KT+W9NT/M6+OaAfQPJF/4O5PUHYlq6FmbpDBomArCBwvzjbbW71hfWAjQhNXAkkDoDoLqt02G70SZKUhU8gvT8BcqEQI5NDsdTdfLWwcLz25MWvgkppiEmPFh0vTZ8R1MBWKsh9R6oFWs4mXt7RIXJoo4GXyqUr4DUWg== Received: from SN6PR02MB4157.namprd02.prod.outlook.com (2603:10b6:805:33::23) by LV3PR02MB10102.namprd02.prod.outlook.com (2603:10b6:408:19c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.38; Fri, 9 Feb 2024 15:33:24 +0000 Received: from SN6PR02MB4157.namprd02.prod.outlook.com ([fe80::67a9:f3c0:f57b:86dd]) by SN6PR02MB4157.namprd02.prod.outlook.com ([fe80::67a9:f3c0:f57b:86dd%5]) with mapi id 15.20.7249.027; Fri, 9 Feb 2024 15:33:24 +0000 From: Michael Kelley To: Wei Liu CC: LKML , Michael Kelley , Markus Elfring , "linux-hyperv@vger.kernel.org" , Dexuan Cui , Haiyang Zhang , Dan Carpenter , "kernel-janitors@vger.kernel.org" Subject: RE: [PATCH 1/2] Drivers: hv: vmbus: Remove duplication and cleanup code in create_gpadl_header() Thread-Topic: [PATCH 1/2] Drivers: hv: vmbus: Remove duplication and cleanup code in create_gpadl_header() Thread-Index: AQHaRK8CIUgdftXbBEW892p4qa59RLDV0xuAgACHZeCAK/YJYA== Date: Fri, 9 Feb 2024 15:33:24 +0000 Message-ID: References: <20240111165451.269418-1-mhklinux@outlook.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [4smyaC2m42CdGQS6sCXSRg7xopSvXXK6] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR02MB4157:EE_|LV3PR02MB10102:EE_ x-ms-office365-filtering-correlation-id: 5a21f7c7-598e-4d9d-178e-08dc2984746a x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ELrjOPdnQ4FI0HXH3VWrkiy5GlY6SFNf1EIFdBbd0zbDkLeubwuqBIfHnpsgmeCof+TSScv4+s3OEplRXTJ3UJA+0IVS0RmrysEPMutcVfAtmCmM++XJyiOUI0j/LGM6f1byWwLTnKfIt7Tqw41c8lrBtgWqkgoVCYSSg+8pmYRFN9rLbR7/jigtJrKz2ogz0SOBIkwWc80+RUrqnIhxgCvH5e5fd49KXLz6cMJQaIhDc5CQ3G5N3eXRtzWFcvzSQ4V5chOBWO8/uD2lpM1aUm9CexoQETfl0hP4Qd3crk2mwjHb94dopxSVJnRlMmhjowd15SeXftb4WDPC5pJWlN3sZEgrVvDpT6Cb7dPGhnVTtZxW8nDGmestQ61cst5UbtE5Zdg0PwkSPDwMKGVJFBCHqXkb6HYF3AOwr+wRfnZyD21dV6+4GOLMo24wRtrRx1g7uGUkch6E4jPpq2s8bEAt/OVUPmbGDDy+5VcYnH7uuFzwAlzxBOmthzRKJEjJ6jCbp/0k4UW7CsWeD+B0ryFePIPAoHCameeRGYnUNx8iNaveIf6rmcQBsDsb8ngXuFxeN+Y3MdG93SkIGyf/EA/RutZw4ZnIkycSnlwC0LCmf5gEd/Bovg1wk7gaqIiYQg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: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR02MB4157.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 5a21f7c7-598e-4d9d-178e-08dc2984746a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2024 15:33:24.4833 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR02MB10102 RnJvbTogTWljaGFlbCBLZWxsZXkgPG1oa2xpbnV4QG91dGxvb2suY29tPiBTZW50OiBGcmlkYXks IEphbnVhcnkgMTIsIDIwMjQgODoxOSBBTQ0KPiANCj4gRnJvbTogTWFya3VzIEVsZnJpbmcgPE1h cmt1cy5FbGZyaW5nQHdlYi5kZT4gU2VudDogRnJpZGF5LCBKYW51YXJ5IDEyLA0KPiAyMDI0IDEy OjA2IEFNDQo+ID4NCj4gPiDigKYNCj4gPiA+IEVsaW1pbmF0ZSB0aGUgZHVwbGljYXRpb24gYnkg bWFraW5nIG1pbm9yIHR3ZWFrcyB0byB0aGUgbG9naWMgYW5kDQo+ID4gPiBhc3NvY2lhdGVkIGNv bW1lbnRzLiBXaGlsZSBoZXJlLCBzaW1wbGlmeSB0aGUgaGFuZGxpbmcgb2YgbWVtb3J5DQo+ID4g PiBhbGxvY2F0aW9uIGVycm9ycywgYW5kIHVzZSB1bWluKCkgaW5zdGVhZCBvZiBvcGVuIGNvZGlu ZyBpdC4NCj4gPiDigKYNCj4gPg0KPiA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