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
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Dmitry Rokosov's avatar
    checkpatch: introduce proper bindings license check · a04bb4c2
    Dmitry Rokosov authored Apr 04, 2023
    All headers from 'include/dt-bindings/' must be verified by checkpatch
    together with Documentation bindings, because all of them are part of the
    whole DT bindings system.
    
    The requirement is dual licensed and matching patterns:
    * Schemas:
        /GPL-2\.0(?:-only)? OR BSD-2-Clause/
    * Headers:
        /GPL-2\.0(?:-only)? OR \S+/
    
    Above patterns suggested by Rob at:
    https://lore.kernel.org/all/CAL_Jsq+-YJsBO+LuPJ=ZQ=eb-monrwzuCppvReH+af7hYZzNaQ@mail.gmail.com
    
    The issue was found during patch review:
    https://lore.kernel.org/all/20230313201259.19998-4-ddrokosov@sberdevices.ru/
    
    Link: https://lkml.kernel.org/r/20230404191715.7319-1-ddrokosov@sberdevices.ru
    
    
    Signed-off-by: default avatarDmitry Rokosov <ddrokosov@sberdevices.ru>
    Reviewed-by: default avatarRob Herring <robh@kernel.org>
    Cc: Andy Whitcroft <apw@canonical.com>
    Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
    Cc: Joe Perches <joe@perches.com>
    Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    a04bb4c2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7