Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2401174rdd; Fri, 12 Jan 2024 08:19:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGec3CSWYQtp8Bx+s21kRrYxuB9lbTirzxa/0hjrL1j7c96ytQiCM2VED+7XXUW2uvm7Gn8 X-Received: by 2002:a17:906:4716:b0:a2b:63ca:cee0 with SMTP id y22-20020a170906471600b00a2b63cacee0mr446797ejq.11.1705076361083; Fri, 12 Jan 2024 08:19:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705076361; cv=pass; d=google.com; s=arc-20160816; b=lLtbGYju9Z1+W0szb0A0Hu4KVwZGuUv1rLNYjOzdi1oun6FKFoUDdIjIulCVQb24Oj Q7+xWKmw3ddbcWJorBcnjUtWy5P6xI9B3wu1hFoYUjK7MiEPNI4z8H4J4esEQ0u5Fx46 1G7UAqBuiETKul/GN4bbOBcPc7uSwmbVTID9U6DAznQoct458ZCaHxqHxtuIIjc4nOA8 BFmn6fzR4tI7u4fbAlnDtqhmQVMWjiJ/R5HB16GC/WIGz87+BLVw9C1sATeFWiq+P9mZ 8WguHrERXmh+ZnnTe9XfTmN0XAdLrwJo0/tcldB2h37aq3FpsQm5WcBsC1V/5ylbfHoK Ho4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :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=1WEPWa3xLFMjUWvVDGpOtCn1MrQ59m4f8xhQCO4faC0=; fh=TBXh0ljG68UnhzewgH6/hIDyYvyZs7Q1MFwAHg65UyI=; b=GnfibLqYhN73XaHAUrczLBP8tuK54hLaDLIPhjYXNyw0U8G1eKAwVWzqS3EUy0D8ox +clsL3TLbsMI2MwrxZpRbAw0R9IXeHOUk2e17rSW9hthi9jEZf5yVwhbjzFwPd+kqH5x O6U1O3G4uCc6sjlVh8talakn6kGSCid5kQm9UW6sNzwqUpefAFcfL7rDWoMZjcPFpuN1 UFxt93ctpS7hs0wgQ7oU9XWkpuQsTnbxzRd053fwr+SOExsHo9qmTD0xJ8H174cCiFKB G9Qw5cXM/DkslLNw8die74+YeUozl6XXPJ3Zthuo1iFhJiS+hloPYpwECJkP8vWB72qr //SQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=NgmYJMJx; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-24853-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24853-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z9-20020a170906270900b00a28b69dda0dsi1508064ejc.455.2024.01.12.08.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 08:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24853-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=NgmYJMJx; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-24853-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24853-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A80B51F22E20 for ; Fri, 12 Jan 2024 16:19:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72F61745D5; Fri, 12 Jan 2024 16:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="NgmYJMJx" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2013.outbound.protection.outlook.com [40.92.22.13]) (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 A7E4073198; Fri, 12 Jan 2024 16:19:07 +0000 (UTC) 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=j2f0QMkVl7G2fjtHVV7jFIuNAFNgf3LhbJ1o557ils9K0HePPXvqPouCRwE7G+04EAIAWQw69HBz1HMAeNUMXjYYWC7ff+V6ts0a+eMryhopULLONKxYyjCenbYsvQi9+261bBLGUv7bY7Y5alQMFBeEMFATnF5tDQp9dLu9OnGooGzlvBDlc1W0J9vebuD/hmI0zuS/sDm7DOLOYOArmFkG8sHgJee71xqd4yeeCblYmcwrw3c1CtwAJQvz3iFJxpFol/CXkcKQ0os+zPCR5LDJuftgd/lllZ80GxqEBOSQ0h+hCILXL7nefYRxF1dyQ4Va7QKTd0LGqz1MMb2faA== 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=1WEPWa3xLFMjUWvVDGpOtCn1MrQ59m4f8xhQCO4faC0=; b=RxvYAe7Px0GR8UU5Wg74DoTg1kAyeUjUpBNjjivyRr9lj7Wmk1Fk8BRiMHwo0ptJVQicOI8+bxbZA/1c6+j9o7GqKugCOcY8xl86dCDzpMNSY7Y2/Mik1c2GnmX6W/N64USGoOktbpYrwWenvIMzyqi2C21laoIBTjgIYqfWnzyby3HLqN4RNCABkIvOWUEJ2CVXe1wQqGQYmzPsdD1r8KejghY57g/reMO5svAHk+jwt2ZLXyV6jDBRiYqFwJJJRzdhhUX9zJnyOnJ0ZNuAYCYkBAuF6b3GhGKk8EyB53ad9Ej1RXb6oYY+mhrXPWW/kZiPRHb6noc4ZIln6s8SWA== 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=1WEPWa3xLFMjUWvVDGpOtCn1MrQ59m4f8xhQCO4faC0=; b=NgmYJMJx6f7ynyYs+WLey7zcyMzPiXzuj0jAfzlArCOzUyAjB4P4Qoa6xgitIdD3Dqxfh/wInxNT0vn+5FBWU4rsHO97arFUHl3FUxPZmtAiveCJEz0yzaEid6nIWyPvMbUKhmS+Ii817XbCCcBfaYIcVmQPIXsCUdkG0DidizRKQGlTj1W1qoew/I90XVN5M89Nv+mjxd6+gmuGsyLTqPQnd1Ff5V1zOAMzanjoMbliSYdNiUsb8u+fgI5gWnOPBWb/lGLMJiQfN3HlE9okRkJ6K2ECzPpTYkdeUljd6ik77af94tlEht6qFg4itbWJM8IyC6+HUF5sC4/rhsEsnw== Received: from SN6PR02MB4157.namprd02.prod.outlook.com (2603:10b6:805:33::23) by SA1PR02MB8480.namprd02.prod.outlook.com (2603:10b6:806:1fb::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 16:19:05 +0000 Received: from SN6PR02MB4157.namprd02.prod.outlook.com ([fe80::3524:e4b3:632d:d8b2]) by SN6PR02MB4157.namprd02.prod.outlook.com ([fe80::3524:e4b3:632d:d8b2%4]) with mapi id 15.20.7181.015; Fri, 12 Jan 2024 16:19:05 +0000 From: Michael Kelley To: Markus Elfring , "linux-hyperv@vger.kernel.org" , Dexuan Cui , Haiyang Zhang , Wei Liu , Dan Carpenter , "kernel-janitors@vger.kernel.org" CC: LKML 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: AQHaRK8CIUgdftXbBEW892p4qa59RLDV0xuAgACHZeA= Date: Fri, 12 Jan 2024 16:19:05 +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: [s7AGYa9FTi00zqso51vlPsm3hxRXHHGQ] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR02MB4157:EE_|SA1PR02MB8480:EE_ x-ms-office365-filtering-correlation-id: 8f6b3428-8356-437d-0af6-08dc138a3270 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uHtwhdI/0aZrMjX6uU4Mi1/bILEQqCOVkjKzFGrQFvPhbUbBLlvOJeTSWB6ZV7ngRvwW+YE1dD9FGSmAmwwfP7R9ApVlx34QZFCgG3+Z0DLCVxdRVWwKyYgliXJfH9vB/ZifqF9peHoFM7Pmyqxz4NARm7KAoohXwnuw3eBzLpm6uEi+l3b4RhIiid/DuYeE4C3yIX3zOJ20Txkqm2AgUEZrXzCrMcT1I1Gj2Ps6SPGYVdFY0LPu2WZUhGMYM5Kpf+ocN2fuef9nZP6ydKZEvmsC0O6saVUZq7uuUxk3RojjOyED4YpLSt0B+oOWkhLtPSDxNc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VUZFaGhJMnZQ?= =?utf-8?B?WVp3dzBJSWlEZlRBaWNZZnFReEZUOUNsSkE2MkQxMGw1ZHk5RDgyeGl6VlBa?= =?utf-8?B?OWNOWmNNdjdHYisxZ0RVa0dFMitZS2tPWEc1dlU5dUFhS0NSVzZYSjFTRzdu?= =?utf-8?B?S2V3ekRUc04wNXdNTzdQL2ltVUFkNVE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 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: 8f6b3428-8356-437d-0af6-08dc138a3270 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2024 16:19:05.1917 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR02MB8480 RnJvbTogTWFya3VzIEVsZnJpbmcgPE1hcmt1cy5FbGZyaW5nQHdlYi5kZT4gU2VudDogRnJpZGF5 LCBKYW51YXJ5IDEyLCAyMDI0IDEyOjA2IEFNDQo+IA0KPiDigKYNCj4gPiBFbGltaW5hdGUgdGhl IGR1cGxpY2F0aW9uIGJ5IG1ha2luZyBtaW5vciB0d2Vha3MgdG8gdGhlIGxvZ2ljIGFuZA0KPiA+ IGFzc29jaWF0ZWQgY29tbWVudHMuIFdoaWxlIGhlcmUsIHNpbXBsaWZ5IHRoZSBoYW5kbGluZyBv ZiBtZW1vcnkN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