On 7/20/22 21:00, Song Gao wrote:
@@ -413,7 +413,6 @@ static void acpi_build(AcpiBuildTables *tables,
MachineState *machine)
AcpiFadtData fadt_data;
unsigned facs, rsdt, fadt, dsdt;
uint8_t *u;
-size_t aml_len = 0;
...
@@ -451,7 +444,6 @@ static void
On 7/20/22 21:00, Song Gao wrote:
Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
size_t aml_len = 0;
^
Reported-by: Peter Maydell
Signed-off-by: Song Gao
---
Ping for 7.1
On 2022/7/24 上午11:27, Richard Henderson wrote:
On 7/21/22 09:30, Song Gao wrote:
Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
size_t aml_len = 0;
^
On 7/21/22 09:30, Song Gao wrote:
Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
size_t aml_len = 0;
^
Reported-by: Peter Maydell
Signed-off-by: Song Gao
---
Reviewed-by:
Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
size_t aml_len = 0;
^
Reported-by: Peter Maydell
Signed-off-by: Song Gao
---
hw/loongarch/acpi-build.c | 8
1 file