diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-12-22 11:35:41 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-12-22 11:35:41 -0800 |
commit | 37379cfc661e51607733f266d9f407b4f8aee16b (patch) | |
tree | 336bedfa8a624bbacf766de5c6a7f5e20fd98ab7 /drivers/nvdimm/dimm.c | |
parent | 1f4883f300da4f4d9d31eaa80f7debf6ce74843b (diff) | |
download | lwn-37379cfc661e51607733f266d9f407b4f8aee16b.tar.gz lwn-37379cfc661e51607733f266d9f407b4f8aee16b.zip |
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>
Diffstat (limited to 'drivers/nvdimm/dimm.c')
-rw-r--r-- | drivers/nvdimm/dimm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/dimm.c b/drivers/nvdimm/dimm.c index 1b3d9e7b2ffe..0cf58cabc9ed 100644 --- a/drivers/nvdimm/dimm.c +++ b/drivers/nvdimm/dimm.c @@ -62,7 +62,7 @@ static int nvdimm_probe(struct device *dev) */ rc = nvdimm_security_unlock(dev); if (rc < 0) - dev_err(dev, "failed to unlock dimm: %d\n", rc); + dev_dbg(dev, "failed to unlock dimm: %d\n", rc); /* |