Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • devfreq
  • devfreq.c
Find file BlameHistoryPermalink
  • MyungJoo Ham's avatar
    PM / devfreq: devm_kzalloc to have dev pointer more precisely · 3e1d7fb0
    MyungJoo Ham authored Oct 02, 2015
    
    
    devm_kzalloc of devfreq's statistics data structure has been
    using its parent device as the dev allocated for.
    If a device's devfreq is disabled in run-time,
    such allocated memory won't be freed.
    
    Desginating more precisely with the devfreq device
    pointer fixes the issue.
    
    Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
    3e1d7fb0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7