Commit b7b08385 authored by Jean-Marc Eurin's avatar Jean-Marc Eurin Committed by Greg Kroah-Hartman
Browse files

ACPI PPTT: Fix coding mistakes in a couple of sizeof() calls



[ Upstream commit 7ab4f0e3 ]

The end of table checks should be done with the structure size,
but 2 of the 3 similar calls use the pointer size.

Signed-off-by: default avatarJean-Marc Eurin <jmeurin@google.com>
Link: https://patch.msgid.link/20250402001542.2600671-1-jmeurin@google.com


[ rjw: Subject edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7f6dade8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment