scsi: qla4xxx: Fix Fix inconsistent of format with argument type in ql4_nx.c
Subsystems (2)
PATCH 1/1 scsi: qla4xxx: Fix Fix inconsistent of format with argument type in ql4_nx.c
Fix follow warning:
[drivers/scsi/qla4xxx/ql4_nx.c:3228]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
Reported-by Hulk Robot <[email protected]>
Signed-off-by Ye Bin <[email protected]>
--- drivers/scsi/qla4xxx/ql4_nx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla4xxx/ql4_nx.c +1 -1
@@ -3225,7 +3225,7 @@ static void qla4_8xxx_uevent_emit(struct scsi_qla_host *ha, u32 code)switch (code) {case QL4_UEVENT_CODE_FW_DUMP : -snprintf (event_string,sizeof (event_string),"FW_DUMP=%ld" , +snprintf (event_string,sizeof (event_string),"FW_DUMP=%lu" , ha->host_no);break ;default :
Signature · 1 line
2.25.4
Martin K. Petersen
AppliedYe,
Quoted 3 lines
Fix follow warning:
[drivers/scsi/qla4xxx/ql4_nx.c:3228]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
Applied to 5.10/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 3 lines · Ye Bin
Fix follow warning:
[drivers/scsi/qla4xxx/ql4_nx.c:3228]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: qla4xxx: Fix inconsistent format argument type
https://git.kernel.org/mkp/scsi/c/5ccdd101351d
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering