History

Merge tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull non-MM updates from Andrew Morton: "Mainly individually changelogged singleton patches. The patch series in this pull are: - "lib min_heap: Improve min_heap safety, testing, and documentation" from Kuan-Wei Chiu provides various tightenings to the min_heap library code - "xarray: extract __xa_cmpxchg_raw" from Tamir Duberstein preforms some cleanup and Rust preparation in the xarray library code - "Update reference to include/asm-<arch>" from Geert Uytterhoeven fixes pathnames in some code comments - "Converge on using secs_to_jiffies()" from Easwar Hariharan uses the new secs_to_jiffies() in various places where that is appropriate - "ocfs2, dlmfs: convert to the new mount API" from Eric Sandeen switches two filesystems to the new mount API - "Convert ocfs2 to use folios" from Matthew Wilcox does that - "Remove get_task_comm() and print task comm directly" from Yafang Shao removes now-unneeded calls to get_task_comm() in various places - "squashfs: reduce memory usage and update docs" from Phillip Lougher implements some memory savings in squashfs and performs some maintainability work - "lib: clarify comparison function requirements" from Kuan-Wei Chiu tightens the sort code's behaviour and adds some maintenance work - "nilfs2: protect busy buffer heads from being force-cleared" from Ryusuke Konishi fixes an issues in nlifs when the fs is presented with a corrupted image - "nilfs2: fix kernel-doc comments for function return values" from Ryusuke Konishi fixes some nilfs kerneldoc - "nilfs2: fix issues with rename operations" from Ryusuke Konishi addresses some nilfs BUG_ONs which syzbot was able to trigger - "minmax.h: Cleanups and minor optimisations" from David Laight does some maintenance work on the min/max library code - "Fixes and cleanups to xarray" from Kemeng Shi does maintenance work on the xarray library code" * tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (131 commits) ocfs2: use str_yes_no() and str_no_yes() helper functions include/linux/lz4.h: add some missing macros Xarray: use xa_mark_t in xas_squash_marks() to keep code consistent Xarray: remove repeat check in xas_squash_marks() Xarray: distinguish large entries correctly in xas_split_alloc() Xarray: move forward index correctly in xas_pause() Xarray: do not return sibling entries from xas_find_marked() ipc/util.c: complete the kernel-doc function descriptions gcov: clang: use correct function param names latencytop: use correct kernel-doc format for func params minmax.h: remove some #defines that are only expanded once minmax.h: simplify the variants of clamp() minmax.h: move all the clamp() definitions after the min/max() ones minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp() minmax.h: reduce the #define expansion of min(), max() and clamp() minmax.h: update some comments minmax.h: add whitespace around operators and after commas nilfs2: do not update mtime of renamed directory that is not moved nilfs2: handle errors that nilfs_prepare_chunk() may return CREDITS: fix spelling mistake ...

Linus Torvalds committed 1 year ago

Commit c159dfb2 parents baf29cc beeba1e179 files · +2501 −2093Browse files

Showing the changes to scripts/checkpatch.pl (1 of 179 files). Show all

Unified · Split

scripts/checkpatch.pl+8−18
@@ -834,16 +834,6 @@ foreach my $entry (@mode_permission_funcs) { · 833 unmodified lines
834$mode_perms_search = "(?:${mode_perms_search})";834$mode_perms_search = "(?:${mode_perms_search})";
835 835
836our %deprecated_apis = (836our %deprecated_apis = (
837 "synchronize_rcu_bh" => "synchronize_rcu",
838 "synchronize_rcu_bh_expedited" => "synchronize_rcu_expedited",
839 "call_rcu_bh" => "call_rcu",
840 "rcu_barrier_bh" => "rcu_barrier",
841 "synchronize_sched" => "synchronize_rcu",
842 "synchronize_sched_expedited" => "synchronize_rcu_expedited",
843 "call_rcu_sched" => "call_rcu",
844 "rcu_barrier_sched" => "rcu_barrier",
845 "get_state_synchronize_sched" => "get_state_synchronize_rcu",
846 "cond_synchronize_sched" => "cond_synchronize_rcu",
847 "kmap" => "kmap_local_page",837 "kmap" => "kmap_local_page",
848 "kunmap" => "kunmap_local",838 "kunmap" => "kunmap_local",
849 "kmap_atomic" => "kmap_local_page",839 "kmap_atomic" => "kmap_local_page",
@@ -2875,7 +2865,7 @@ sub process { · 2025 unmodified lines
2875 2865
2876 if ($realfile =~ m@^include/asm/@) {2866 if ($realfile =~ m@^include/asm/@) {
2877 ERROR("MODIFIED_INCLUDE_ASM",2867 ERROR("MODIFIED_INCLUDE_ASM",
2878 "do not modify files in include/asm, change architecture specific files in include/asm-<architecture>\n" . "$here$rawline\n");2868 "do not modify files in include/asm, change architecture specific files in arch/<architecture>/include/asm\n" . "$here$rawline\n");
2879 }2869 }
2880 $found_file = 1;2870 $found_file = 1;
2881 }2871 }
@@ -3237,12 +3227,12 @@ sub process { · 355 unmodified lines
3237 my ($cid, $ctitle) = git_commit_info($orig_commit, $id,3227 my ($cid, $ctitle) = git_commit_info($orig_commit, $id,
3238 $title);3228 $title);
3239 3229
3240 if ($ctitle ne $title || $tag_case || $tag_space ||3230 if (defined($cid) && ($ctitle ne $title || $tag_case || $tag_space || $id_length || $id_case || !$title_has_quotes)) {
3241 $id_length || $id_case || !$title_has_quotes) {3231 my $fixed = "Fixes: $cid (\"$ctitle\")";
3242 if (WARN("BAD_FIXES_TAG",3232 if (WARN("BAD_FIXES_TAG",
3243 "Please use correct Fixes: style 'Fixes: <12+ chars of sha1> (\"<title line>\")' - ie: 'Fixes: $cid (\"$ctitle\")'\n" . $herecurr) &&3233 "Please use correct Fixes: style 'Fixes: <12+ chars of sha1> (\"<title line>\")' - ie: '$fixed'\n" . $herecurr) &&
3244 $fix) {3234 $fix) {
3245 $fixed[$fixlinenr] = "Fixes: $cid (\"$ctitle\")";3235 $fixed[$fixlinenr] = $fixed;
3246 }3236 }
3247 }3237 }
3248 }3238 }
@@ -5513,9 +5503,9 @@ sub process { · 2264 unmodified lines
5513 }5503 }
5514 }5504 }
5515 5505
5516# check for unnecessary parentheses around comparisons in if uses5506# check for unnecessary parentheses around comparisons
5517# when !drivers/staging or command-line uses --strict5507# except in drivers/staging
5518 if (($realfile !~ m@^(?:drivers/staging/)@ || $check_orig) &&5508 if (($realfile !~ m@^(?:drivers/staging/)@) &&
5519 $perl_version_ok && defined($stat) &&5509 $perl_version_ok && defined($stat) &&
5520 $stat =~ /(^.\s*if\s*($balanced_parens))/) {5510 $stat =~ /(^.\s*if\s*($balanced_parens))/) {
5521 my $if_stat = $1;5511 my $if_stat = $1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t