diff options
author | Tomas Henzl <[email protected]> | 2024-06-27 09:48:27 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-07-04 22:40:32 -0400 |
commit | de24085328c09e5a6dd8a8d95ad65876f097e9c1 (patch) | |
tree | b42ea08cc4c53171d36f578eecb4d8765ca6e967 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 06b91c00db396fafeed4c3201597bf3ed8261511 (diff) |
scsi: mpi3mr: Correct a test in mpi3mr_sas_port_add()
The test for a possible shift overflow is not correct. Fix it by replacing
the '>' with a '>='.
Signed-off-by: Tomas Henzl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions