On Thu, 31 Aug 2023 16:51:45 +0530, Nilesh Javali wrote: > rqstlen and rsplen were changed to __le32 to fix > sparse warnings. > > drivers/scsi/qla2xxx/qla_nvme.c:402:30: warning: incorrect type in assignment (different base types) > drivers/scsi/qla2xxx/qla_nvme.c:402:30: expected restricted __le32 [usertype] cmd_len > drivers/scsi/qla2xxx/qla_nvme.c:402:30: got unsigned short [usertype] rsplen > drivers/scsi/qla2xxx/qla_nvme.c:507:30: warning: incorrect type in assignment (different base types) > drivers/scsi/qla2xxx/qla_nvme.c:507:30: expected restricted __le32 [usertype] cmd_len > drivers/scsi/qla2xxx/qla_nvme.c:507:30: got unsigned int [usertype] rqstlen > drivers/scsi/qla2xxx/qla_nvme.c:508:30: warning: incorrect type in assignment (different base types) > drivers/scsi/qla2xxx/qla_nvme.c:508:30: expected restricted __le32 [usertype] rsp_len > drivers/scsi/qla2xxx/qla_nvme.c:508:30: got unsigned int [usertype] rsplen > > [...] Applied to 6.6/scsi-fixes, thanks! [1/1] qla2xxx: correct endianness for rqstlen and rsplen https://git.kernel.org/mkp/scsi/c/0be7592885d7 -- Martin K. Petersen Oracle Linux Engineering