From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B73F92D592C; Tue, 30 Jun 2026 21:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782856678; cv=none; b=V8kQvKYqxzI4lVgMjaLb7TOGRqI/5U+IxXaTAAe9KylmoPaWYOp1Cy0Ilfn5mXJPjYA05HgdAKBYpnSHjh7b4Hq8BnyTicPygnOOjZMwGjWowMsRROx1wkMHuHMPAJnRrO2NnwwInnUyr63UtPxpu1XJqRbjZ1p45AbcF0R5a8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782856678; c=relaxed/simple; bh=+kZe0PjH8G14gZWeBzK7oZnDykkjXHdzsJbJzqlqCVE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H5omzgoaX7aQuBEmT6Z3aOktFBxm9/nEWzj7f3JBAeD6XQcZnpEYkz5PlQU/deiCyGLFHLJ0+578wZe62n+N2CTcctYQxt9lLL9tjzL1Bs5tc8v54mHnvp1KiD98EwOS2goOK/vF6qHRF0SJBcjex39J4kK4Hajbyo7RM7GiuZk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SVYyNjuE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SVYyNjuE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F5991F000E9; Tue, 30 Jun 2026 21:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782856677; bh=t85DkWwsmnF/KSxEPx7WybeVqj8vLCigV4gp0NJRo/c=; h=From:To:Cc:Subject:Date; b=SVYyNjuEgCkVNixIq12heEA5xi4OahAWKHjvs/TXNEQvMsxRXh5lZPBNiev+EMrJx 3xrCYwPINr9ohL8zZ2Ydct7ncGHF9ofyrsaBBOFrdO/GmcrwqelTHZH1lpH+THqjzy ci7gR54/mmqds9E24/eB/QZguVvpClgpwE5+PpnKXVueBwu0Coi/JogDVm3Dg7wqV9 //WQzMMw8EnRGM0LxVN0ZtZFwVynz29ksdjAEZYGnXlIPOSyjXdeELgNKlULfOccOj EH3DOqmDIDM0QR0BzmN3RYKzBbd+cg5fAvXtZtQu0sB1L1SA8LRa4UmVo0dBeP5sSE 8Wn9VULYX6CHw== From: wei.liu@kernel.org To: Linux on Hyper-V List Cc: Wei Liu , stable@kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Dexuan Cui , Long Li , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] mshv: fix hv_input_get_system_property struct Date: Tue, 30 Jun 2026 14:57:54 -0700 Message-ID: <20260630215754.200779-1-wei.liu@kernel.org> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Wei Liu Keep it in sync with the correct definition. The old code worked by chance. Cc: stable@kernel.org Signed-off-by: Wei Liu --- include/hyperv/hvhdk_mini.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hyperv/hvhdk_mini.h b/include/hyperv/hvhdk_mini.h index b4cb2fa26e9b..035ba20870f7 100644 --- a/include/hyperv/hvhdk_mini.h +++ b/include/hyperv/hvhdk_mini.h @@ -184,8 +184,9 @@ enum hv_dynamic_processor_feature_property { struct hv_input_get_system_property { u32 property_id; /* enum hv_system_property */ + u32 reserved; union { - u32 as_uint32; + u64 as_uint64; #if IS_ENABLED(CONFIG_X86) /* enum hv_dynamic_processor_feature_property */ u32 hv_processor_feature; -- 2.53.0