summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/dimm.c
diff options
context:
space:
mode:
authorDan Williams2018-12-22 20:35:41 +0100
committerDan Williams2018-12-22 20:35:41 +0100
commit37379cfc661e51607733f266d9f407b4f8aee16b (patch)
tree336bedfa8a624bbacf766de5c6a7f5e20fd98ab7 /drivers/nvdimm/dimm.c
parentlibnvdimm/security: Add documentation for nvdimm security support (diff)
downloadkernel-qcow2-linux-37379cfc661e51607733f266d9f407b4f8aee16b.tar.gz
kernel-qcow2-linux-37379cfc661e51607733f266d9f407b4f8aee16b.tar.xz
kernel-qcow2-linux-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.c2
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);
/*