git: acpica: Fix -Wvla warnings in acpi_hp.c
Aaron LI
aly at crater.dragonflybsd.org
Thu Oct 15 17:57:27 PDT 2026
commit e66c74364f3e09441ad34321c96d10911bf826f9
Author: Aaron LI <aly at aaronly.me>
Date: Thu Oct 15 09:25:06 2026 +0800
acpica: Fix -Wvla warnings in acpi_hp.c
Avoid using a variable solely for sizes that are never meant to be
modified runtime.
Obtained-from: FreeBSD (commit 2cafe2f90ca5d7c0ac859db440fa4159f442f128)
Summary of changes:
sys/dev/acpica/acpi_hp/acpi_hp.c | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e66c74364f3e09441ad34321c96d10911bf826f9
--
DragonFly BSD source repository
More information about the Commits
mailing list