aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHugo Villeneuve <[email protected]>2023-12-21 18:18:11 -0500
committerGreg Kroah-Hartman <[email protected]>2024-01-04 16:30:04 +0100
commited647256e8f226241ecff7baaecdb8632ffc7ec1 (patch)
tree7f19c6c6f7c15c437e62394bca8e4c89c36cafc6 /lib/test_fortify/write_overflow-strncpy-src.c
parent3ef79cd1412236d884ab0c46b4d1921380807b48 (diff)
serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq()
Commit 834449872105 ("sc16is7xx: Fix for multi-channel stall") changed sc16is7xx_port_irq() from looping multiple times when there was still interrupts to serve. It simply changed the do {} while(1) loop to a do {} while(0) loop, which makes the loop itself now obsolete. Clean the code by removing this obsolete do {} while(0) loop. 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