Re: [PATCH] nfit: acpi_nfit_ctl(): check out_obj->type in the right place
From: Dan Williams
Date: Wed Jan 30 2019 - 01:21:50 EST
On Tue, Jan 29, 2019 at 5:23 PM Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:
>
>
> In the case of ND_CMD_CALL, we should also check out_obj->type.
>
> The patch uses out_obj->type, which is a short alias to
> out_obj->package.type.
>
> Fixes: 31eca76ba2fc ("nfit, libnvdimm: limited/whitelisted dimm command marshaling mechanism")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
Looks good to me, applied.