diff options
author | Tomas Henzl <thenzl@redhat.com> | 2024-06-27 09:48:27 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-07-05 04:40:32 +0200 |
commit | de24085328c09e5a6dd8a8d95ad65876f097e9c1 (patch) | |
tree | b42ea08cc4c53171d36f578eecb4d8765ca6e967 /include/ufs | |
parent | Merge patch series "mpi3mr: Host diag buffer support" (diff) | |
download | linux-de24085328c09e5a6dd8a8d95ad65876f097e9c1.tar.xz linux-de24085328c09e5a6dd8a8d95ad65876f097e9c1.zip |
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 <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20240627074827.13672-1-thenzl@redhat.com
Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
0 files changed, 0 insertions, 0 deletions