Fixes the observed warnings:
scripts/gdb/linux/rbtree.py:20: SyntaxWarning: "is" with a literal. Did
you mean "=="?
if node is 0:
scripts/gdb/linux/rbtree.py:36: SyntaxWarning: "is" with a literal. Did
you mean "=="?
if node is 0:
It looks like this is a new warning added in Python 3.8. I've only seen
this once after adding the add-auto-load-safe-path rule to my ~/.gdbinit
for a new tree.
Fixes: commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| __init__.py | ||
| clk.py | ||
| config.py | ||
| constants.py.in | ||
| cpus.py | ||
| device.py | ||
| dmesg.py | ||
| genpd.py | ||
| lists.py | ||
| Makefile | ||
| modules.py | ||
| proc.py | ||
| rbtree.py | ||
| symbols.py | ||
| tasks.py | ||
| timerlist.py | ||
| utils.py | ||