diff options
| author | Olivier Cochard <olivier@FreeBSD.org> | 2026-03-03 23:05:04 +0000 |
|---|---|---|
| committer | Olivier Cochard <olivier@FreeBSD.org> | 2026-03-03 23:08:23 +0000 |
| commit | 4d876fc5fc427f9e4a110da5cc2ce62a21998b6c (patch) | |
| tree | f7e1fbf320def2dcb21903512f263770bf75613f /contrib/llvm-project/llvm/tools/llvm-dwp | |
| parent | f268f95955f5f0f91f4d39e13bcd69a24e0d8ce4 (diff) | |
In acpi_spmc_get_constraints_spec(), the revision of the device
constraint detail package was mistakenly read from
constraint_obj->Package.Elements[0], which is the device name
(a string), instead of from the detail sub-package's first element.
Move the initialisation of 'detail' before the revision check and
read the revision from detail->Package.Elements[0] as the comment
already states
Approved by: obiwac
Differential Revision: https://reviews.freebsd.org/D55639
Sponsored by: Netflix
Diffstat (limited to 'contrib/llvm-project/llvm/tools/llvm-dwp')
0 files changed, 0 insertions, 0 deletions
