]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: pm8001: Use int instead of u32 to store error codes
authorQianfeng Rong <rongqianfeng@vivo.com>
Tue, 26 Aug 2025 09:32:42 +0000 (17:32 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 31 Aug 2025 01:37:53 +0000 (21:37 -0400)
commitbee3554d1a4efbce91d6eca732f41b97272213a5
treee6ae30b3326483fa923d53a75b0172a4d35437ed
parent11e6fb38bde51cba411163f95a32db84d5d220a2
scsi: pm8001: Use int instead of u32 to store error codes

Use int instead of u32 for 'ret' variable to store negative error codes
returned by PM8001_CHIP_DISP->set_nvmd_req().

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://lore.kernel.org/r/20250826093242.230344-1-rongqianfeng@vivo.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_ctl.c