Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-dm
  • Repository
Switch branch/tag
  • linux-dm
  • drivers
  • nvdimm
  • security.c
Find file BlameHistoryPermalink
  • Dave Jiang's avatar
    libnvdimm: prevent nvdimm from requesting key when security is disabled · 674f31a3
    Dave Jiang authored Sep 24, 2019
    Current implementation attempts to request keys from the keyring even when
    security is not enabled. Change behavior so when security is disabled it
    will skip key request.
    
    Error messages seen when no keys are installed and libnvdimm is loaded:
    
        request-key[4598]: Cannot find command to construct key 661489677
        request-key[4606]: Cannot find command to construct key 34713726
    
    Cc: stable@vger.kernel.org
    Fixes: 4c6926a2
    
     ("acpi/nfit, libnvdimm: Add unlock of nvdimm support for Intel DIMMs")
    Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
    Link: https://lore.kernel.org/r/156934642272.30222.5230162488753445916.stgit@djiang5-desk3.ch.intel.com
    
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    674f31a3

Replace security.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.