From: Amjad Ouled-Ameur Date: Thu, 6 Apr 2023 22:12:17 +0000 (-0700) Subject: scripts/gdb: timerlist: convert int chunks to str X-Git-Tag: v6.6.7~2969^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29692fc92c5b6a2c7cfe6f588ef68272e3343647;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-by: Florian Fainelli Tested-by: Florian Fainelli Cc: Jan Kiszka Signed-off-by: Andrew Morton --- diff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py index 249f0e8..64bc871 100644 --- a/scripts/gdb/linux/timerlist.py +++ b/scripts/gdb/linux/timerlist.py @@ -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):