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
  • arch
  • powerpc
  • kernel
  • stacktrace.c
Find file BlameHistoryPermalink
  • Joe Lawrence's avatar
    powerpc/livepatch: small cleanups in save_stack_trace_tsk_reliable() · 29a77bbb
    Joe Lawrence authored Jan 22, 2019
    
    
    Mostly cosmetic changes:
    
    - Group common stack pointer code at the top
    - Simplify the first frame logic
    - Code stackframe iteration into for...loop construct
    - Check for trace->nr_entries overflow before adding any into the array
    
    Suggested-by: default avatarNicolai Stange <nstange@suse.de>
    Signed-off-by: default avatarJoe Lawrence <joe.lawrence@redhat.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    29a77bbb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7