[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ACPI: Assert that we don't run out of the preallocated memor
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH] ACPI: Assert that we don't run out of the preallocated memory |
Date: |
Fri, 24 Jul 2020 08:55:00 -0400 |
On Thu, Jul 23, 2020 at 06:50:06PM +0100, Peter Maydell wrote:
> On Mon, 22 Jun 2020 at 12:30, Dongjiu Geng <gengdongjiu@huawei.com> wrote:
> >
> > data_length is a constant value, so we use assert instead of
> > condition check.
> >
> > Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
> > ---
> > 1. Address Peter and Michael's comments to use assert instead of if().
> > https://lore.kernel.org/qemu-devel/ca79ea28-9ea9-18a5-99ad-25c3eb744721@huawei.com/
>
> Oops, looks like we forgot about this patch -- Michael, are you
> taking it through your tree or should I take it via target-arm ?
>
> thanks
> -- PMM
Feel free to merge pls.
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>