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
  • scripts
  • bpf_helpers_doc.py
Find file BlameHistoryPermalink
  • Quentin Monnet's avatar
    bpf: fix script for generating man page on BPF helpers · 748c7c82
    Quentin Monnet authored May 10, 2019
    
    
    The script broke on parsing function prototype for bpf_strtoul(). This
    is because the last argument for the function is a pointer to an
    "unsigned long". The current version of the script only accepts "const"
    and "struct", but not "unsigned", at the beginning of argument types
    made of several words.
    
    One solution could be to add "unsigned" to the list, but the issue could
    come up again in the future (what about "long int"?). It turns out we do
    not need to have such restrictions on the words: so let's simply accept
    any series of words instead.
    
    Reported-by: default avatarYonghong Song <yhs@fb.com>
    Signed-off-by: default avatarQuentin Monnet <quentin.monnet@netronome.com>
    Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    748c7c82
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7