From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AF6B8B65C for ; Sat, 25 Nov 2023 15:52:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KLGUsZ43" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2D596C433C8 for ; Sat, 25 Nov 2023 15:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700927562; bh=AefTbXFJcjDzURQpKctYLCZo43Y2QwSDlaAIr6iyoMU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KLGUsZ43PF2FN/ly/bvVo1RhpX1WNAJh8isJBumurDwo6kzYANtDMnxumhtJEe7z/ uU3DTe3tSQr+dviTubwrZ5JWUem9tNFNGy3z/W56y7WHo14t2I5IgGVOfCCxsFcVFN ucS+usbqM3+PTQMIs4/DlXbUAacPZRplNBqVRTFGyUqP8BKiclfnjnRqd313FIOrmb Am1q9uK+nF0UzaXUEd/VLInH/O2qo7MDXuggUA44hxwvAbmemERAZMwLc9GsDgXEw3 Yjpg/tXmPlveCxz2nPAe4LlIjyO0cCYkRBBThfdewyes1DetK3pCg7wSUndQXB6RTG PnKGroyoPAvDA== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 15E35C53BD0; Sat, 25 Nov 2023 15:52:42 +0000 (UTC) From: bugzilla-daemon@kernel.org To: platform-driver-x86@vger.kernel.org Subject: [Bug 218188] hp_wmi_sensors: probe of 8F1F6435-9F42-42C8-BADC-0E9424F20C9A failed with error -61 Date: Sat, 25 Nov 2023 15:52:41 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Platform_x86 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: high X-Bugzilla-Who: W_Armin@gmx.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 https://bugzilla.kernel.org/show_bug.cgi?id=3D218188 --- Comment #2 from Armin Wolf (W_Armin@gmx.de) --- Can you check if the following patch makes the WMI device with the GUID 8F1F6435-9F42-42C8-BADC-0E9424F20C9A disappear: >From 19edb8bd7368c7ca93268f60d17ee60125354356 Mon Sep 17 00:00:00 2001 From: Armin Wolf Date: Sat, 25 Nov 2023 16:46:06 +0100 Subject: [PATCH] platform/x86: wmi: Skip blocks with zero instances Some machines like the HP Omen 17 ck2000nf contain WMI blocks with zero instances, so any WMI driver which tries to handle the associated WMI device will fail. Skip such WMI blocks to avoid confusing any WMI drivers. Signed-off-by: Armin Wolf --- drivers/platform/x86/wmi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 5c27b4aa9690..f3d38b910e15 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c @@ -1340,6 +1340,11 @@ static int parse_wdg(struct device *wmi_bus_dev, str= uct platform_device *pdev) if (debug_dump_wdg) wmi_dump_wdg(&gblock[i]); + if (!gblock->instance_count) { + dev_info(wmi_bus_dev, FW_INFO "%pUL has zero instances\n", &gblock[i].guid); + continue; + } + if (guid_already_parsed_for_legacy(device, &gblock[i].guid)) continue; --=20 2.39.2 --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=