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-04 22:40:32 -0400 |
commit | de24085328c09e5a6dd8a8d95ad65876f097e9c1 (patch) | |
tree | b42ea08cc4c53171d36f578eecb4d8765ca6e967 /drivers/scsi/zalon.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 <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 'drivers/scsi/zalon.c')
0 files changed, 0 insertions, 0 deletions