Re: [PATCH v10 06/21] acpi/ghes: Remove a duplicated out of bounds check

2024-09-17 Thread Igor Mammedov
On Sat, 14 Sep 2024 08:13:27 +0200 Mauro Carvalho Chehab wrote: > acpi_ghes_record_errors() has an assert() at the beginning > to ensure that source_id will be lower than > ACPI_GHES_ERROR_SOURCE_COUNT. Remove a duplicated check. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Igor Mamme

[PATCH v10 06/21] acpi/ghes: Remove a duplicated out of bounds check

2024-09-13 Thread Mauro Carvalho Chehab
acpi_ghes_record_errors() has an assert() at the beginning to ensure that source_id will be lower than ACPI_GHES_ERROR_SOURCE_COUNT. Remove a duplicated check. Signed-off-by: Mauro Carvalho Chehab --- hw/acpi/ghes.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/acpi/g