summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2023-12-22 02:18:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 18:30:04 +0300
commitd5078509c8b06c5c472a60232815e41af81c6446 (patch)
treec93096c1ff279f6520e961b399864540f2cc7536 /tools/perf/scripts/python/task-analyzer.py
parented647256e8f226241ecff7baaecdb8632ffc7ec1 (diff)
downloadlinux-d5078509c8b06c5c472a60232815e41af81c6446.tar.xz
serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
Simplify and improve readability by replacing while(1) loop with do {} while, and by using the keep_polling variable as the exit condition, making it more explicit. Fixes: 834449872105 ("sc16is7xx: Fix for multi-channel stall") Cc: <stable@vger.kernel.org> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20231221231823.2327894-6-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions