diff options
author | 2024-06-27 09:48:27 +0200 | |
---|---|---|
committer | 2024-07-04 22:40:32 -0400 | |
commit | de24085328c09e5a6dd8a8d95ad65876f097e9c1 (patch) | |
tree | b42ea08cc4c53171d36f578eecb4d8765ca6e967 /rust/helpers/build_bug.c | |
parent | Merge patch series "mpi3mr: Host diag buffer support" (diff) | |
download | wireguard-linux-de24085328c09e5a6dd8a8d95ad65876f097e9c1.tar.xz wireguard-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 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions