]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: hisi_sas: Fix the risk of overflow in bitwise logical operations
authorYihang Li <liyihang9@huawei.com>
Thu, 5 Mar 2026 06:47:00 +0000 (14:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 7 Mar 2026 16:20:30 +0000 (11:20 -0500)
commitc420f7c4ac7e808bf8554af43691bc9133bb89e9
tree09f5374219df6e6d912a242c284c3565292b457e
parent87a629fd5e37677ce04b102df25057d889f71be4
scsi: hisi_sas: Fix the risk of overflow in bitwise logical operations

Fix a few constants defined via macros that had overflow risks.

Signed-off-by: Yihang Li <liyihang9@huawei.com>
Link: https://patch.msgid.link/20260305064700.116033-3-liyihang9@huawei.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c