aboutsummaryrefslogtreecommitdiffstats
path: root/stable_commits.sh
blob: 9d7b886fef8bb31da46c9679a2288997d8d58ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

# Find commits for stable kernel trees that not merged in appropriate trees
# yet.

bindir=$(dirname "$0")
lbx_path=$(realpath "$bindir/../lazybox")
stable_commits_check="$lbx_path/linux_hack/stable_commits_check.py"

if [ ! -x "$stable_commits_check" ]
then
	echo "$stable_commits_check not found"
	exit 1
fi

for tree in 5.15 6.1 6.6 6.8
do
	src="v$tree..linus/master"
	dst="v$tree..stable/linux-$tree.y"
	echo "src: $src, dst: $dst"
	echo
	"$stable_commits_check" --src "$src" --dest "$dst" --need_merge \
		--file mm/damon include/linux/damon.h
done