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
  • Ira Weiny's avatar
    checkpatch: mark kunmap() and kunmap_atomic() deprecated · a3ea42ff
    Ira Weiny authored Dec 29, 2022
    It was suggested by Fabio that kunmap() be marked deprecated in
    checkpatch.[1] This did not seem necessary until an invalid conversion of
    kmap_local_page() appeared in mainline.[2][3] The introduction of this bug
    would have been flagged with kunmap() being marked deprecated.
    
    Add kunmap() and kunmap_atomic() to checkpatch to help prevent further
    confusion.
    
    [1] https://lore.kernel.org/all/1884934.6tgchFWduM@suse/
    [2] d406d267 ("cifs: skip alloc when request has no pages")
    [3] https://lore.kernel.org/r/20221229-cifs-kmap-v1-1-c70d0e9a53eb@intel.com
    
    Link: https://lkml.kernel.org/r/20221229-kmap-checkpatch-v2-1-919fc4d4e3c2@intel.com
    
    
    Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
    Suggested-by: default avatar"Fabio M. De Francesco" <fmdefrancesco@gmail.com>
    Acked-by: default avatarJoe Perches <joe@perches.com>
    Cc: Andy Whitcroft <apw@canonical.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    a3ea42ff
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7