Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-vs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • 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
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • 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-vs
  • Repository
  • linux-vs
  • drivers
  • base
  • regmap
  • regmap-debugfs.c
Find file Blame History Permalink
  • David Lechner's avatar
    regmap: Allow missing device in regmap_name_read_file() · 12ae3808
    David Lechner authored Feb 19, 2018 and Mark Brown's avatar Mark Brown committed Feb 20, 2018
    
    
    This fixes a possible NULL pointer dereference oops in
    regmap_name_read_file() when the regmap does not have a device
    associated with it. For example syscon regmaps retrieved with
    syscon_regmap_lookup_by_compatible() don't have a device.
    
    Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    12ae3808