diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-07-04 16:19:33 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-07-04 16:19:33 +0300 |
commit | afeea2758b4f1210361ce2a91d8fa3e7df606ad2 (patch) | |
tree | 969164f4e52fac6d4ec7d275540e702375e80950 /scripts/gdb/linux/tasks.py | |
parent | 539d33b5783804f22a62bd62ff463dfd1cef4265 (diff) | |
parent | 896868eded124059023be0af92d68cdaf9b4de70 (diff) | |
download | linux-afeea2758b4f1210361ce2a91d8fa3e7df606ad2.tar.xz |
Merge drm-misc-next-2024-07-04 into drm-misc-next-fixes
Let's start the drm-misc-next-fixes cycle.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
-rw-r--r-- | scripts/gdb/linux/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py index 6793d6e86e77..62348397c1f5 100644 --- a/scripts/gdb/linux/tasks.py +++ b/scripts/gdb/linux/tasks.py @@ -85,7 +85,7 @@ thread_info_type = utils.CachedType("struct thread_info") def get_thread_info(task): thread_info_ptr_type = thread_info_type.get_type().pointer() - if task.type.fields()[0].type == thread_info_type.get_type(): + if task_type.get_type().fields()[0].type == thread_info_type.get_type(): return task['thread_info'] thread_info = task['stack'].cast(thread_info_ptr_type) return thread_info.dereference() |