diff options
| author | Ira Weiny <[email protected]> | 2022-12-29 22:17:15 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-03 06:50:02 +0000 |
| commit | a3ea42ff8f3c977ac568f0530d2c13a639858764 (patch) | |
| tree | b127f16877e1afede7628cc6e11b62897deac3c8 /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/spelling.txt: add `permitted' (diff) | |
| download | kernel-a3ea42ff8f3c977ac568f0530d2c13a639858764.tar.gz kernel-a3ea42ff8f3c977ac568f0530d2c13a639858764.zip | |
checkpatch: mark kunmap() and kunmap_atomic() deprecated
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] d406d26745ab ("cifs: skip alloc when request has no pages")
[3] https://lore.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Suggested-by: "Fabio M. De Francesco" <[email protected]>
Acked-by: Joe Perches <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
