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
  • kernel
  • debug
  • kdb
  • kdb_main.c
Find file BlameHistoryPermalink
  • Sumit Garg's avatar
    kdb: Refactor env variables get/set code · 83fa2d13
    Sumit Garg authored Feb 08, 2021
    
    
    Add two new kdb environment access methods as kdb_setenv() and
    kdb_printenv() in order to abstract out environment access code
    from kdb command functions.
    
    Also, replace (char *)0 with NULL as an initializer for environment
    variables array.
    
    Signed-off-by: default avatarSumit Garg <sumit.garg@linaro.org>
    Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
    Link: https://lore.kernel.org/r/1612771342-16883-1-git-send-email-sumit.garg@linaro.org
    
    
    [daniel.thompson@linaro.org: Replaced (char *)0/NULL initializers with
    an array size]
    Signed-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
    83fa2d13
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7