Skip to contentSkip to conversation

scripts-gdb-timerlist-convert-int-chunks-to-str.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Apr 18, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: scripts/gdb: timerlist: convert int chunks to str
has been removed from the -mm tree. Its filename was
scripts-gdb-timerlist-convert-int-chunks-to-str.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Amjad Ouled-Ameur <[email protected]>
Subject: scripts/gdb: timerlist: convert int chunks to str
Date: Thu, 6 Apr 2023 15:12:17 -0700

join() expects strings but integers are given.

Convert chunks list to strings before passing it to join()

---

 scripts/gdb/linux/timerlist.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/gdb/linux/timerlist.py renamed from scripts/gdb/linux/timerlist.py~scripts-gdb-timerlist-convert-int-chunks-to-str +1 -1
@@ -174,7 +174,7 @@ def pr_cpumask(mask):
     if 0 < extra <= 4:
         chunks[0] = chunks[0][0]  # Cut off the first 0
 
-    return "".join(chunks)
+    return "".join(str(chunks))
 
 
 class LxTimerList(gdb.Command):

_

Patches currently in -mm which might be from [email protected] are