diff options
author | Shenwei Wang <shenwei.wang@nxp.com> | 2023-04-10 22:55:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 14:42:30 +0300 |
commit | f73fd750552524b06b5d77ebfdd106ccc8fcac61 (patch) | |
tree | 3737eb93dffc0e1f1d471935d61cd6e583dde199 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9e4f2a8004213339e9d837d891a59cc80e082966 (diff) | |
download | linux-f73fd750552524b06b5d77ebfdd106ccc8fcac61.tar.xz |
tty: serial: fsl_lpuart: adjust buffer length to the intended size
Based on the fls function definition provided below, we should not
subtract 1 to obtain the correct buffer length:
fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
Fixes: 5887ad43ee02 ("tty: serial: fsl_lpuart: Use cyclic DMA for Rx")
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Link: https://lore.kernel.org/r/20230410195555.1003900-1-shenwei.wang@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions