• Dan Williams's avatar
    libnvdimm/security: Quiet security operations · 37379cfc
    Dan Williams authored
    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: default avatarDan Williams <dan.j.williams@intel.com>
    37379cfc
security.c 11.4 KB