summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-01-31 11:24:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-06 14:40:38 +0000
commit720e78d7fa0f1df905a42ae68e7e3b0f95e53946 (patch)
tree9af3450f77e49df6e54408d0a8c5b3d694d62723 /include
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff)
downloadlinux-stable-720e78d7fa0f1df905a42ae68e7e3b0f95e53946.tar.gz
linux-stable-720e78d7fa0f1df905a42ae68e7e3b0f95e53946.tar.bz2
linux-stable-720e78d7fa0f1df905a42ae68e7e3b0f95e53946.zip
serial: 8250_pci1xxxx: partially revert off by one patch
I was reviewing this code again and I realized I made a mistake here. It should have been > instead of >=. The subtract ensures that we don't go out of bounds. My patch meant that we don't read the last chunk of the buffer. Fixes: 86ee55e9bc7f ("serial: 8250_pci1xxxx: fix off by one in pci1xxxx_process_read_data()") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/bd6fb361-bbb9-427d-90e8-a5df4de76221@moroto.mountain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions