Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • drivers
  • ide
  • ide-probe.c
Find file BlameHistoryPermalink
  • Elias Oltmanns's avatar
    ide: Two fixes regarding memory allocation · e415e495
    Elias Oltmanns authored Oct 13, 2008
    
    
    In function ide_devset_execute() we should use __GFP_WAIT rather than
    GFP_KERNEL. Also, the allocation cannot possibly fail at that point.
    More importantly, there is a potential memory leak in the device probing
    code. The infrastructure seems rather complex and I hope I haven't messed
    anything up by trying to fix this.
    
    Signed-off-by: default avatarElias Oltmanns <eo@nebensachen.de>
    [bart: remove superfluous ide_lock taking]
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    e415e495

Imprint & Privacy Policy