]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix inconsistent format argument type in tcm_qla2xxx.c
authorYe Bin <yebin10@huawei.com>
Wed, 30 Sep 2020 02:25:13 +0000 (10:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 2 Oct 2020 23:01:17 +0000 (19:01 -0400)
commitec15e0b5161d314666a754e60303cd87dcbfbdb9
tree382d003e887c46b044bd24dbe232f06cdd8f8fd1
parent767a9e6f11bab6f7a1d8dd81c3f394d0eb188aa6
scsi: qla2xxx: Fix inconsistent format argument type in tcm_qla2xxx.c

Fix the following warnings:

[drivers/scsi/qla2xxx/tcm_qla2xxx.c:884]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[drivers/scsi/qla2xxx/tcm_qla2xxx.c:885]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[drivers/scsi/qla2xxx/tcm_qla2xxx.c:886]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[drivers/scsi/qla2xxx/tcm_qla2xxx.c:887]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[drivers/scsi/qla2xxx/tcm_qla2xxx.c:888]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.

Link: https://lore.kernel.org/r/20200930022515.2862532-2-yebin10@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/tcm_qla2xxx.c