commit | 43f89877f26671c6309cd87d7364b1a3e66e71cf | [log] [tgz] |
---|---|---|
author | Dexuan Cui <decui@microsoft.com> | Wed Jan 30 01:23:01 2019 +0000 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jan 29 22:08:34 2019 -0800 |
tree | e842a79843a072606ef3846da0f252fb6ab973d2 | |
parent | f596c8844fe1d0022007ae6c7a377361fb653eff [diff] |
nfit: acpi_nfit_ctl(): Check out_obj->type in the right place 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>