Re: [PATCH 3/3] libnvdimm/security: Consolidate 'security' operations

From: Jeff Moyer
Date: Fri Aug 16 2019 - 16:51:03 EST


Dan Williams <dan.j.williams@xxxxxxxxx> writes:

> The security operations are exported from libnvdimm/security.c to
> libnvdimm/dimm_devs.c, and libnvdimm/security.c is optionally compiled
> based on the CONFIG_NVDIMM_KEYS config symbol.
>
> Rather than export the operations across compile objects, just move the
> __security_store() entry point to live with the helpers.
>
> Cc: Dave Jiang <dave.jiang@xxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Fine by me.

Acked-by: Jeff Moyer <jmoyer@xxxxxxxxxx>