diff options
author | Jiri Kosina <jkosina@suse.cz> | 2020-10-15 21:37:01 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-10-15 21:37:01 +0300 |
commit | 62b31a045757eac81fed94b19df47418a0818528 (patch) | |
tree | 285fda56df8304dff6ba929bad65ddfb4e4fd726 /scripts/gdb/linux | |
parent | cc51d171776f3a6acb6828bad0b780a4cacf5423 (diff) | |
parent | c27e08820bc6cb7d483a8d87589bdbbbf10f2306 (diff) | |
download | linux-62b31a045757eac81fed94b19df47418a0818528.tar.xz |
Merge branch 'for-5.10/core' into for-linus
- nonblocking read semantics fix for hid-debug
Diffstat (limited to 'scripts/gdb/linux')
-rw-r--r-- | scripts/gdb/linux/rbtree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gdb/linux/rbtree.py b/scripts/gdb/linux/rbtree.py index c4b991607917..fe462855eefd 100644 --- a/scripts/gdb/linux/rbtree.py +++ b/scripts/gdb/linux/rbtree.py @@ -17,7 +17,7 @@ def rb_first(root): raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) node = root['rb_node'] - if node is 0: + if node == 0: return None while node['rb_left']: @@ -33,7 +33,7 @@ def rb_last(root): raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) node = root['rb_node'] - if node is 0: + if node == 0: return None while node['rb_right']: |