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:19 -0500
committerGreg Kroah-Hartman <[email protected]>2024-01-04 16:30:04 +0100
commit2e57cefc4477659527f7adab1f87cdbf60ef1ae6 (patch)
tree6724d9b0c60d3310b2a958a441a5b0fa3bec001f /lib/test_fortify/write_overflow-strncpy-src.c
parentdfb104213008e68ba4dd516ce4f329d676c449fb (diff)
serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
To better show why the limit is what it is, since we have only 16 bits for the divisor. Reviewed-by: Andy Shevchenko <[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