android_kernel_motorola_sm6375/scripts/gdb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aymeric Agon-Rambosson 02ebbd1da3 scripts/gdb: repair rb_first() and rb_last()
[ Upstream commit 50e36be1fb9572b2e4f2753340bdce3116bf2ce7 ]

The current implementations of the rb_first() and rb_last() gdb
functions have a variable that references itself in its instanciation,
which causes the function to throw an error if a specific condition on
the argument is met.  The original author rather intended to reference
the argument and made a typo.  Referring the argument instead makes the
function work as intended.

Signed-off-by: Aymeric Agon-Rambosson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Nikolay Borisov <[email protected]>
Cc: Jackie Liu <[email protected]>
Cc: Jason Wessel <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-05-27 17:46:36 +02:00
..
linux scripts/gdb: repair rb_first() and rb_last() 2020-05-27 17:46:36 +02:00
Makefile
vmlinux-gdb.py scripts/gdb: add helpers to find and list devices 2019-07-16 19:23:24 -07:00