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
  • tools
  • testing
  • selftests
  • lib.mk
Find file BlameHistoryPermalink
  • Edward Liaw's avatar
    selftests: Compile kselftest headers with -D_GNU_SOURCE · daef47b8
    Edward Liaw authored May 07, 2024
    Add the -D_GNU_SOURCE flag to KHDR_INCLUDES so that it is defined in a
    central location.
    
    Commit 80921623 ("selftests/harness: remove use of LINE_MAX")
    introduced asprintf into kselftest_harness.h, which is a GNU extension
    and needs _GNU_SOURCE to either be defined prior to including headers or
    with the -D_GNU_SOURCE flag passed to the compiler.
    
    Fixed up commit log:
    Shuah Khan <skhan@linuxfoundation.org>
    
    Fixes: 80921623
    
     ("selftests/harness: remove use of LINE_MAX")
    Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
    Closes: https://lore.kernel.org/oe-lkp/202404301040.3bea5782-oliver.sang@intel.com
    
    
    Signed-off-by: default avatarEdward Liaw <edliaw@google.com>
    Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
    Reviewed-by: default avatarMark Brown <broonie@kernel.org>
    Reviewed-by: default avatarJohn Hubbard <jhubbard@nvidia.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    daef47b8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7