scripts/gdb: timerlist: convert int chunks to str

join() expects strings but integers are given.

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

Link: https://lkml.kernel.org/r/20230406221217.1585486-4-f.fainelli@gmail.com
Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Signed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Amjad Ouled-Ameur 2023-04-06 15:12:17 -07:00 committed by Andrew Morton
parent b0969d7687
commit 29692fc92c
1 changed files with 1 additions and 1 deletions

View File

@ -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):