libnvdimm/security: Quiet security operations
authorDan Williams <dan.j.williams@intel.com>
Sat, 22 Dec 2018 19:35:41 +0000 (11:35 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 22 Dec 2018 19:35:41 +0000 (11:35 -0800)
commit37379cfc661e51607733f266d9f407b4f8aee16b
tree336bedfa8a624bbacf766de5c6a7f5e20fd98ab7
parent1f4883f300da4f4d9d31eaa80f7debf6ce74843b
libnvdimm/security: Quiet security operations

The security implementation is too chatty. For example, the common case
is that security is not enabled / setup, and booting a qemu
configuration currently yields:

    nvdimm nmem0: request_key() found no key
    nvdimm nmem0: failed to unlock dimm: -126
    nvdimm nmem1: request_key() found no key
    nvdimm nmem1: failed to unlock dimm: -126

Convert all security related log messages to debug level.

Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/dimm.c
drivers/nvdimm/security.c