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
  • params.c
Find file BlameHistoryPermalink
  • Paul Menzel's avatar
    moduleparams: Add hexint type parameter · 7d836577
    Paul Menzel authored Jul 03, 2020
    
    
    For bitmasks printing values in hex is more convenient.
    
    Prefix with `0x` to make it clear, that it’s a hex value, and pad it
    out.
    
    Using the helper for `amdgpu.ppfeaturemask`, it will look like below.
    
    Before:
    
        $ more /sys/module/amdgpu/parameters/ppfeaturemask
        4294950911
    
    After:
    
        $ more /sys/module/amdgpu/parameters/ppfeaturemask
        0xffffbfff
    
    Cc: linux-kernel@vger.kernel.org
    Cc: amd-gfx@lists.freedesktop.org
    Signed-off-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
    Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
    Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
    Link: https://patchwork.freedesktop.org/patch/374726/
    7d836577
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7