Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Amjad Ouled-Ameur and committed by
Andrew Morton
29692fc9 b0969d76

+1 -1
+1 -1
scripts/gdb/linux/timerlist.py
··· 174 174 if 0 < extra <= 4: 175 175 chunks[0] = chunks[0][0] # Cut off the first 0 176 176 177 - return "".join(chunks) 177 + return "".join(str(chunks)) 178 178 179 179 180 180 class LxTimerList(gdb.Command):