diff options
author | Hugo Villeneuve <[email protected]> | 2023-12-21 18:18:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-04 16:30:04 +0100 |
commit | d5078509c8b06c5c472a60232815e41af81c6446 (patch) | |
tree | c93096c1ff279f6520e961b399864540f2cc7536 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ed647256e8f226241ecff7baaecdb8632ffc7ec1 (diff) |
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: <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions