Re: [PATCH] libnvdimm: Drop nvdimm_bus from security_ops interface

2018-09-27 Thread Dave Jiang
On 09/26/2018 07:22 PM, Dan Williams wrote: > All that is missing is a helper to go from an nvdimm to its bus. With > the new nvdimm_to_bus() and nvdimm_ctl() helpers some boilerplate can be > consolidated. > > Signed-off-by: Dan Williams Reviewed-by: Dave Jiang > --- >

[PATCH] libnvdimm: Drop nvdimm_bus from security_ops interface

2018-09-26 Thread Dan Williams
All that is missing is a helper to go from an nvdimm to its bus. With the new nvdimm_to_bus() and nvdimm_ctl() helpers some boilerplate can be consolidated. Signed-off-by: Dan Williams --- drivers/acpi/nfit/intel.c | 46 +++- drivers/nvdimm/bus.c