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
  • linux
  • drivers
  • android
  • binder_alloc.c
Find file BlameHistoryPermalink
  • Xiongwei Song's avatar
    ANDROID: binder: make binder_alloc_new_buf_locked static and indent its arguments · 3f827245
    Xiongwei Song authored Dec 14, 2017
    
    
    The function binder_alloc_new_buf_locked() is only used in this file, so
    make it static. Also clean up sparse warning:
    
    drivers/android/binder_alloc.c:330:23: warning: no previous prototype
    for ‘binder_alloc_new_buf_locked’ [-Wmissing-prototypes]
    
    In addition, the line of the function name exceeds 80 characters when
    add static for this function, hence indent its arguments anew.
    
    Signed-off-by: default avatarXiongwei Song <sxwjean@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    3f827245
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7