The patch titled Subject: scripts/gdb: also allow list_head pointer as lx-list-check paramter has been removed from the -mm tree. Its filename was scripts-gdb-also-allow-list_head-pointer-as-lx-list-check-paramter.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> Subject: scripts/gdb: also allow list_head pointer as lx-list-check paramter This makes the usage more flexible. Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> Cc: Thiébaud Weksteen <thiebaud@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/gdb/linux/lists.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN scripts/gdb/linux/lists.py~scripts-gdb-also-allow-list_head-pointer-as-lx-list-check-paramter scripts/gdb/linux/lists.py --- a/scripts/gdb/linux/lists.py~scripts-gdb-also-allow-list_head-pointer-as-lx-list-check-paramter +++ a/scripts/gdb/linux/lists.py @@ -20,9 +20,11 @@ list_head = utils.CachedType("struct lis def list_check(head): nb = 0 + if (head.type == list_head.get_type().pointer()): + head = head.dereference() + elif (head.type != list_head.get_type()): + raise gdb.GdbError('argument must be of type (struct list_head [*])') c = head - if (c.type != list_head.get_type()): - raise gdb.GdbError('The argument should be of type (struct list_head)') try: gdb.write("Starting with: {}\n".format(c)) except gdb.MemoryError: _ Patches currently in -mm which might be from jan.kiszka@xxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html