diff options
author | Dexuan Cui <decui@microsoft.com> | 2019-01-30 01:23:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 13:19:49 +0100 |
commit | 55bfb2af94fdbc7332bea80283d2f541074da78d (patch) | |
tree | 5c2b56a2ebae38e10d79390822a05ec0ea199f59 /drivers/memory/of_memory.h | |
parent | b1fc27d168fc7808052538af608c3198ef99c14a (diff) |
nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
commit 43f89877f26671c6309cd87d7364b1a3e66e71cf upstream.
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@vger.kernel.org>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory/of_memory.h')
0 files changed, 0 insertions, 0 deletions