On Tue, Nov 17, 2020 at 11:36 PM Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote: > > The ACPI_ALLOCATE() does not zero the "buf", so when the condition > "integer->type != ACPI_TYPE_INTEGER" in int_to_buf() is met, the result > is unpredictable in acpi_nfit_ctl(). > > Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx> Looks good to me. Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx> I'll pick this up.