Re: [PATCH] nvdimm: move the check on nd_reserved2 to the endpoint

2017-09-04 Thread Dan Williams
On Mon, Sep 4, 2017 at 8:34 AM, Meng Xu wrote: > This patch delays the check of nd_reserved2 to the actual endpoint > (acpi_nfit_ctl) that uses it, as a prevention of a potential > double-fetch bug. > > Detailed discussion can be found at > https://marc.info/?l=linux-kernel&m=150421938113092&w=2

[PATCH] nvdimm: move the check on nd_reserved2 to the endpoint

2017-09-04 Thread Meng Xu
This patch delays the check of nd_reserved2 to the actual endpoint (acpi_nfit_ctl) that uses it, as a prevention of a potential double-fetch bug. Detailed discussion can be found at https://marc.info/?l=linux-kernel&m=150421938113092&w=2 Signed-off-by: Meng Xu --- drivers/acpi/nfit/core.c | 4 +