summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChisheng Chen <johnny1001s000602@gmail.com>2025-04-03 14:26:14 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-05-12 03:54:04 +0300
commit3dfd79cc8772bc2f02e060aa8c0bbbba8c1a1e45 (patch)
tree9b06cd161cb03017dc76398623d6a59ab2d5a71b /scripts/gdb/linux/utils.py
parentdb80bd2cea1b7c2574578461c9de4c3d9ee7634a (diff)
downloadlinux-3dfd79cc8772bc2f02e060aa8c0bbbba8c1a1e45.tar.xz
lib/rbtree.c: fix the example typo
Replace `sr` with `Sr`. The condition `!tmp1 || rb_is_black(tmp1)` ensures that `tmp1` (which is `sibling->rb_right`) is either NULL or a black node. Therefore, the right child of the sibling must be black, and the example should use `Sr` instead of `sr`. Link: https://lkml.kernel.org/r/20250403112614.570140-1-johnny1001s000602@gmail.com Signed-off-by: Chisheng Chen <johnny1001s000602@gmail.com> Cc: Hsin Chang Yu <zxcvb600870024@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions