Commit 29692fc9 authored by Amjad Ouled-Ameur's avatar Amjad Ouled-Ameur Committed by Andrew Morton

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.comSigned-off-by: default avatarAmjad Ouled-Ameur <aouledameur@baylibre.com>
Signed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Tested-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent b0969d76
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment