diff options
| author | Dan Carpenter <[email protected]> | 2024-01-31 08:24:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-02-06 14:40:38 +0000 |
| commit | 720e78d7fa0f1df905a42ae68e7e3b0f95e53946 (patch) | |
| tree | 9af3450f77e49df6e54408d0a8c5b3d694d62723 /net/unix/garbage.c | |
| parent | Linux 6.8-rc3 (diff) | |
| download | kernel-720e78d7fa0f1df905a42ae68e7e3b0f95e53946.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
