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
  • module
  • main.c
Find file BlameHistoryPermalink
  • Chen Zhongjin's avatar
    module: Remove unused macros module_addr_min/max · 89a6b591
    Chen Zhongjin authored Sep 24, 2022
    Unused macros reported by [-Wunused-macros].
    
    These macros are introduced to record the bound address of modules.
    
    Commit 80b8bf43
    
     ("module: Always have struct mod_tree_root") made
    "struct mod_tree_root" always present and its members addr_min and
    addr_max can be directly accessed.
    
    Macros module_addr_min and module_addr_min are not used anymore, so remove
    them.
    
    Signed-off-by: default avatarChen Zhongjin <chenzhongjin@huawei.com>
    Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
    Reviewed-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
    [mcgrof: massaged the commit messsage as suggested by Miroslav]
    Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    89a6b591
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7