Dave Jiang <dave.ji...@intel.com> wrote: > + /* request new key from userspace */ > + key = nvdimm_request_key(dev, update); > + if (!key) { > + dev_dbg(dev, "%s: failed to acquire new key\n", __func__); > + rc = -ENXIO; > + goto out; > + }
I still think you're better taking two explicit key IDs as part of the command rather than using request_key() to *hopefully* pick the right target. David _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm