From nobody Mon Apr 6 10:42:17 2026 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CBE2402BB2 for ; Thu, 19 Mar 2026 20:26:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773951973; cv=none; b=bfUxt1+D38mstlxhkA5UthFGLZ8IgGv3NX2GAogvv5cv87+Z4qsii+QvuXYmu6VogBim/knMnX5CIW4m3yqM9+R9Qgf5/SBF/2yJv8dZRRC/fPVmHbFc+m6FahnfzMLpCXMImSnu5MmlwYdvxpsPj4vemHvc1LsT5dQFcTIjYSI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773951973; c=relaxed/simple; bh=CYzAd6S2tuDyMt904iUrjc5QlAl/T5Oy/hTKXGVuzUA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mHBM4t6ipmb18QZQjw0Mav7oWbMjt1P18dPK/22ZuA902LUyzZaavJYJpfHU8lVnIGrLmqbSHyE1TUHO9NwG+0aDtr7x5c+DyQ/1tkc4djCjyiBwz9MK/4k6TBSQpXpx7VrA2LefkValyeL9SaPP7OdYvPc37VJENavJQViuCDQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CT91zqyN; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CT91zqyN" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-43b49819938so713115f8f.0 for ; Thu, 19 Mar 2026 13:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773951970; x=1774556770; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8T94hCUBCgJxRtV1K3dOdspjWMVTTyxiqKQc25Q0XT4=; b=CT91zqyN+dvLLJVIzAYSXQRh+f9gqVxqHrzBoio7Sz8GXzlZZXUpBv5IJnxGrJerhI 4tuv0wrW5LR+JfjTHAFYAkvpEOzsqlPfUSk0W8Lf0GoxoGxvWBKewkcDkSuOyiRG7YvL Y1/+v7+ZrM02ZKp0VzSfkec519gJgMZdCviDBfg4M7jgMWZ8FrkCf7ft/SgOHoVsYQNM broSmvavT/A0FC8LLkKV77yTCoU+8e9xx7apHrnaYV5aiDOFl1YeHd7rxCCXT5qYTExY 1geUP050xKB3CR11DLFFNtelr+ZTAC3gJ7uQfQRSzD/h80PbymvKRLOchIGKhVlSwGaG 1Udw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773951970; x=1774556770; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=8T94hCUBCgJxRtV1K3dOdspjWMVTTyxiqKQc25Q0XT4=; b=lLVqxhH7dZ56Bt/RrOa9d4WAU7b59kYbGUNT2aqDtuCka3zV5dynJKFwrRlUUdiNyK 2tBRWuilRmIsraXaLV04wkKYNGIqeWFCDKoAg+ZTUyKcGtVzRAoXq/2x4nsWjzOHPH4D ZRaTYcOnlg4mLGb7ylcbzW4qL7HsDnWdQJd7BEqDi0HPuVFeujjuAnBbFaAWHHXnLx4g 1WAm4q/B+S1qOdwPBCmdUmU0sbQ02obT0QwQ9cIVZPYtQoK/jAHf8uWyW7AK+Rw4YTNo pj+6D4b3wVCHxFyzlrCaa3W7bx/KOpjskQmme43YzhMUaYHff7IgLPq2uxt+W3v0uWEP QVQw== X-Gm-Message-State: AOJu0Yz77UKYNwfSxqYkI64sq/cp9nYDqo3RVgO1XLIv+82kP6d5RMsV 64NrnPni3WucQ7c0tVKGndhoAQBY1bu7ZS9i9rf1uiH+EmfLz3axd+S8 X-Gm-Gg: ATEYQzwB1CRdbWDEhRHzMdxjoSNknhsHpbg9zqUADpdUsAfX0TjgNiJKfDNzDiohFQu AZy83kPwnL0CE6YQSfCcHt6Abv5iFF9mg7gOx2+gwI86p7azLtgrydVeiece2fVVGU6QBXAKA91 bgkWDKHPfKv3mXu8fjm/3v8AhiwTECag5PHH0SqIXiaw1PXPpZ6Tg4agIOH/v09xILyimsbhoz8 5dooULoGR3lN73HhKKji6mfL6Yef8vEy//+8dXi4jZoQQ9M+Coo++kfUwhepXnmU6g1VghfiWkg XZeFVUeu8YEFRG6rz1K8ggigsjpVG3p5VqQD3FLaN1UZCWJGc/fZQX4+b3sfgeVfUz78lkaqCcx /VWjMZJCAqYpG15Iu76t+1SoEoXrHnj2zTB2sGMeFW3gjnbvyMGSCx2BoXwkkfCj0J1lBN6+bGU wzc9KugRB5UIs5kc98gEfaK4/s7Pdanx15YrR8EerKdBsL8W0p X-Received: by 2002:a05:6000:2203:b0:43b:46b6:87aa with SMTP id ffacd0b85a97d-43b64277e1amr1210039f8f.27.1773951969551; Thu, 19 Mar 2026 13:26:09 -0700 (PDT) Received: from LQ5W56KC4T ([2001:8a0:672f:7800:e0e1:55cd:f0b:b1e5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b644ae16fsm1347544f8f.8.2026.03.19.13.26.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 19 Mar 2026 13:26:09 -0700 (PDT) From: Eric Curtin X-Google-Original-From: Eric Curtin To: linux-hyperv@vger.kernel.org Cc: linux-kernel@vger.kernel.org, iourit@linux.microsoft.com, wei.liu@kernel.org, decui@microsoft.com, haiyangz@microsoft.com Subject: [PATCH 50/55] drivers: hv: dxgkrnl: Fix build breaks when switching to 6.6 kernel due to removed uuid_le_cmp Date: Thu, 19 Mar 2026 20:25:04 +0000 Message-ID: <20260319202509.63802-51-eric.curtin@docker.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260319202509.63802-1-eric.curtin@docker.com> References: <20260319202509.63802-1-eric.curtin@docker.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Iouri Tarassov uuid_le_cmp was removed and needs to be replaced by guid_equal. The relevant upstream commits are: 1fb1ea0d9cb8 "mei: Move uuid.h to the MEI namespace" f5b3c341a46e "mei: Move uuid_le_cmp() to its only user" 5e6a51787fef "uuid: Decouple guid_t and uuid_le types and respective macros" Signed-off-by: Iouri Tarassov --- drivers/hv/dxgkrnl/dxgmodule.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/hv/dxgkrnl/dxgmodule.c b/drivers/hv/dxgkrnl/dxgmodule.c index 5459bd9b82fb..e3ac70df1b6f 100644 --- a/drivers/hv/dxgkrnl/dxgmodule.c +++ b/drivers/hv/dxgkrnl/dxgmodule.c @@ -762,7 +762,7 @@ static int dxg_probe_vmbus(struct hv_device *hdev, =20 mutex_lock(&dxgglobal->device_mutex); =20 - if (uuid_le_cmp(hdev->dev_type, dxg_vmbus_id_table[0].guid) =3D=3D 0) { + if (guid_equal(&hdev->dev_type, &dxg_vmbus_id_table[0].guid)) { /* This is a new virtual GPU channel */ guid_to_luid(&hdev->channel->offermsg.offer.if_instance, &luid); DXG_TRACE("vGPU channel: %pUb", @@ -777,8 +777,7 @@ static int dxg_probe_vmbus(struct hv_device *hdev, list_add_tail(&vgpuch->vgpu_ch_list_entry, &dxgglobal->vgpu_ch_list_head); dxgglobal_start_adapters(); - } else if (uuid_le_cmp(hdev->dev_type, - dxg_vmbus_id_table[1].guid) =3D=3D 0) { + } else if (guid_equal(&hdev->dev_type, &dxg_vmbus_id_table[1].guid)) { /* This is the global Dxgkgnl channel */ DXG_TRACE("Global channel: %pUb", &hdev->channel->offermsg.offer.if_instance); @@ -810,7 +809,7 @@ static void dxg_remove_vmbus(struct hv_device *hdev) =20 mutex_lock(&dxgglobal->device_mutex); =20 - if (uuid_le_cmp(hdev->dev_type, dxg_vmbus_id_table[0].guid) =3D=3D 0) { + if (guid_equal(&hdev->dev_type, &dxg_vmbus_id_table[0].guid)) { DXG_TRACE("Remove virtual GPU channel"); dxgglobal_stop_adapter_vmbus(hdev); list_for_each_entry(vgpu_channel, @@ -822,8 +821,7 @@ static void dxg_remove_vmbus(struct hv_device *hdev) break; } } - } else if (uuid_le_cmp(hdev->dev_type, - dxg_vmbus_id_table[1].guid) =3D=3D 0) { + } else if (guid_equal(&hdev->dev_type, &dxg_vmbus_id_table[1].guid)) { DXG_TRACE("Remove global channel device"); dxgglobal_destroy_global_channel(); } else {